File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## [ v1.0.1] ( https://github.com/jakezatecky/react-checkbox-tree/compare/v1.0.0...v1.0.1 ) (2017-09-30)
4+
5+ ### Dependencies
6+
7+ * [ #54 ] : Add support for React 16
8+
39## [ v1.0.0] ( https://github.com/jakezatecky/react-checkbox-tree/compare/v0.6.4...v1.0.0 ) (2017-09-21)
410
511### New Features
Original file line number Diff line number Diff line change 2424 "test" : " gulp test"
2525 },
2626 "peerDependencies" : {
27- "react" : " ^15.3.0"
27+ "react" : " ^15.3.0 || ^16.0.0 "
2828 },
2929 "devDependencies" : {
3030 "babel-core" : " ^6.13.2" ,
3535 "babel-preset-stage-2" : " ^6.5.0" ,
3636 "browser-sync" : " ^2.18.6" ,
3737 "chai" : " ^4.0.0" ,
38- "enzyme" : " ^2.7.1" ,
38+ "enzyme" : " ^3.0.0" ,
39+ "enzyme-adapter-react-16" : " ^1.0.0" ,
3940 "eslint" : " ^4.3.0" ,
4041 "eslint-config-takiyon-react" : " ^0.2.1" ,
4142 "eslint-import-resolver-webpack" : " ^0.8.1" ,
5152 "gulp-scss-lint" : " ^0.5.0" ,
5253 "jsdom" : " ^11.0.0" ,
5354 "mocha" : " ^3.0.2" ,
54- "react" : " ^15.4.2" ,
55- "react-addons-test-utils" : " ^15.4.2" ,
56- "react-dom" : " ^15.4.2" ,
57- "react-test-renderer" : " ^15.5.4" ,
55+ "react" : " ^16.0.0" ,
56+ "react-dom" : " ^16.0.0" ,
57+ "react-test-renderer" : " ^16.0.0" ,
5858 "webpack" : " ^3.0.0" ,
5959 "webpack-stream" : " ^4.0.0"
6060 },
Original file line number Diff line number Diff line change 1- const { JSDOM } = require ( 'jsdom' ) ;
1+ import Enzyme from 'enzyme' ;
2+ import Adapter from 'enzyme-adapter-react-16' ;
3+ import { JSDOM } from 'jsdom' ;
4+
5+ Enzyme . configure ( { adapter : new Adapter ( ) } ) ;
26
37const jsdom = new JSDOM ( '<!DOCTYPE html><html><body></body></html>' ) ;
48const { window } = jsdom ;
You can’t perform that action at this time.
0 commit comments