Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Single Application Context #373

Merged
merged 6 commits into from
Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 0 additions & 67 deletions web-client/src/applicationContexts/prod.js

This file was deleted.

2 changes: 1 addition & 1 deletion web-client/src/index.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '@babel/polyfill';
import Devtools from 'cerebral/devtools';

import app from './app';
import applicationContext from './applicationContexts/dev';
import applicationContext from './applicationContext';
import Case from '../../shared/src/business/entities/Case';
import User from '../../shared/src/business/entities/User';

Expand Down
2 changes: 1 addition & 1 deletion web-client/src/index.prod.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '@babel/polyfill';

import app from './app';
import applicationContext from './applicationContexts/prod';
import applicationContext from './applicationContext';

/**
* Initializes the app with prod environment context
Expand Down
2 changes: 1 addition & 1 deletion web-client/src/tests/caseJourney.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CerebralTest } from 'cerebral/test';
import FormData from 'form-data';

import presenter from '../presenter';
import applicationContext from '../applicationContexts/dev';
import applicationContext from '../applicationContext';

import Case from '../../../shared/src/business/entities/Case';

Expand Down
2 changes: 1 addition & 1 deletion web-client/src/tests/login.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CerebralTest } from 'cerebral/test';

import presenter from '../presenter';
import applicationContext from '../applicationContexts/dev';
import applicationContext from '../applicationContext';

presenter.providers.applicationContext = applicationContext;
presenter.providers.router = {
Expand Down
2 changes: 1 addition & 1 deletion web-client/src/tests/misc.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CerebralTest } from 'cerebral/test';

import presenter from '../presenter';
import applicationContext from '../applicationContexts/dev';
import applicationContext from '../applicationContext';

presenter.providers.applicationContext = applicationContext;
presenter.providers.router = { route: () => {} };
Expand Down