File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 2828 "homepage" : " https://github.com/akiran/react-highlight" ,
2929 "dependencies" : {
3030 "highlight.js" : " ^9.11.0" ,
31- "react" : " ^0.14.9 || ^ 15.3.0 " ,
32- "react-dom" : " ^0.14.9 || ^ 15.3.0 "
31+ "react" : " ^15.5.4 " ,
32+ "react-dom" : " ^15.5.4 "
3333 },
3434 "devDependencies" : {
3535 "autoprefixer" : " ^6.7.7" ,
5454 "node-libs-browser" : " ^2.0.0" ,
5555 "phantomjs-prebuilt" : " ^2.1.14" ,
5656 "raw-loader" : " ^0.5.1" ,
57- "react" : " ^0.14.9" ,
58- "react-addons-test-utils" : " ^15.5.1" ,
5957 "webpack" : " ^1.15.0" ,
6058 "webpack-dev-server" : " ^1.16.3"
6159 }
Original file line number Diff line number Diff line change 11var Highlight = require ( '../src' ) ;
22var ReactDOM = require ( 'react-dom' ) ;
3- var TestUtils = require ( 'react-addons- test-utils' ) ;
3+ var TestUtils = require ( 'react-dom/ test-utils' ) ;
44var ReactDOMServer = require ( 'react-dom/server' ) ;
55describe ( 'highlight' , function ( ) {
66
@@ -45,7 +45,4 @@ describe('highlight', function() {
4545 ) ;
4646 expect ( ReactDOM . findDOMNode ( text ) . textContent ) . toBe ( 'Sometext' ) ;
4747 } ) ;
48-
49-
50-
5148} ) ;
You can’t perform that action at this time.
0 commit comments