cross-env and enzyme

This commit is contained in:
Nathan Bierema 2020-12-19 15:19:51 -05:00
parent ebb0818093
commit 8d6a529ea5
3 changed files with 810 additions and 275 deletions

View File

@ -43,9 +43,10 @@
"bestzip": "^2.1.7",
"chromedriver": "^2.35.0",
"copy-webpack-plugin": "^6.3.1",
"cross-env": "^1.0.8",
"cross-env": "^7.0.2",
"electron": "^2.0.2",
"enzyme": "^2.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-15.4": "^1.4.2",
"eslint": "^7.6.0",
"eslint-config-airbnb": "^0.1.0",
"eslint-plugin-react": "^3.2.3",

View File

@ -1,2 +1,6 @@
require('@babel/polyfill');
global.chrome = require('sinon-chrome');
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-15.4';
Enzyme.configure({ adapter: new Adapter() });

File diff suppressed because it is too large Load Diff