File tree Expand file tree Collapse file tree 3 files changed +170
-56
lines changed Expand file tree Collapse file tree 3 files changed +170
-56
lines changed Original file line number Diff line number Diff line change 4545 "coverage" : " jest --coverage && cat ./coverage/lcov.info | coveralls"
4646 },
4747 "jest" : {
48+ "setupFiles" : [
49+ " ./tests/setup.js"
50+ ],
4851 "collectCoverageFrom" : [
4952 " src/**/*"
5053 ],
5760 },
5861 "devDependencies" : {
5962 "coveralls" : " ^2.11.15" ,
60- "enzyme" : " ^2.6.0" ,
61- "enzyme-to-json" : " ^1.5.0" ,
63+ "enzyme" : " ^3.0.0" ,
64+ "enzyme-adapter-react-16" : " ^1.0.1" ,
65+ "enzyme-to-json" : " ^3.0.0" ,
6266 "jest" : " ^20.0.4" ,
6367 "pre-commit" : " 1.x" ,
6468 "querystring" : " ^0.2.0" ,
6569 "rc-dialog" : " 6.x" ,
6670 "rc-tools" : " 6.x" ,
67- "react" : " 15.x " ,
68- "react-dom" : " 15.x " ,
69- "react-test-renderer" : " ^15.3.2 "
71+ "react" : " ^16.0.0 " ,
72+ "react-dom" : " ^16.0.0 " ,
73+ "react-test-renderer" : " ^16.0.0 "
7074 },
7175 "pre-commit" : [
7276 " lint"
You can’t perform that action at this time.
0 commit comments