File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55 "main" : " " ,
66 "repository" : " " ,
77 "scripts" : {
8- "test" : " mocha"
8+ "test" : " mocha --compilers js:babel-register "
99 },
1010 "author" : " Gordon Freeman <eax@gmx.us>" ,
1111 "license" : " MIT" ,
1717 "babel-plugin-transform-strict-mode" : " ^6.3.13" ,
1818 "babel-preset-react" : " ^6.3.13" ,
1919 "babel-preset-stage-0" : " ^6.3.13" ,
20+ "babel-register" : " ^6.3.13" ,
2021 "chai" : " ^3.4.1" ,
2122 "css-loader" : " ^0.23.0" ,
2223 "eslint" : " ^1.10.3" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ var TestUtils = require('react-addons-test-utils');
66
77describe ( 'Testing my div' , function ( ) {
88 it ( 'should contain text: Lovely! Here it is - my very first React component!' , function ( ) {
9- var Node = TestUtils . renderIntoDocument ( ' <IF />' ) ;
9+ var Node = TestUtils . renderIntoDocument ( < IF /> ) ;
1010
1111 console . log ( Node ) ;
1212 } ) ;
You can’t perform that action at this time.
0 commit comments