Initial commit.

This commit is contained in:
Douglas Hall
2019-01-10 14:12:44 -05:00
parent 040dfa16a5
commit b79aa790fa
25 changed files with 23467 additions and 0 deletions

10
src/setupTest.js Executable file
View File

@@ -0,0 +1,10 @@
/* eslint-disable import/no-extraneous-dependencies */
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
Enzyme.configure({ adapter: new Adapter() });
// These configuration values are usually set in webpack's EnvironmentPlugin however
// Jest does not use webpack so we need to set these so for testing
process.env.LMS_BASE_URL = 'http://localhost:18000';