File tree 3 files changed +19
-5
lines changed
3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "stage" : 0 ,
3
- "loose" : " all"
2
+ "presets" : [" es2015" , " stage-0" ]
4
3
}
Original file line number Diff line number Diff line change 16
16
"redux-devtools" : " ^2.1.2"
17
17
},
18
18
"devDependencies" : {
19
- "babel" : " ^5.8.23" ,
19
+ "babel-cli" : " ^6.2.0" ,
20
+ "babel-core" : " ^6.2.1" ,
20
21
"babel-eslint" : " ^4.1.1" ,
22
+ "babel-preset-es2015" : " ^6.1.18" ,
23
+ "babel-preset-stage-0" : " ^6.1.18" ,
21
24
"browser-sync" : " ^2.9.3" ,
25
+ "chai" : " ^3.4.1" ,
22
26
"electron-compilers" : " ^1.0.1" ,
23
27
"electron-packager" : " ^5.1.0" ,
24
28
"electron-prebuilt" : " ^0.34.2" ,
25
29
"eslint" : " ^1.4.1" ,
26
30
"eslint-config-airbnb" : " 0.1.0" ,
27
- "eslint-plugin-react" : " ^3.3.2"
31
+ "eslint-plugin-react" : " ^3.3.2" ,
32
+ "mocha" : " ^2.3.4"
28
33
},
29
34
"scripts" : {
30
35
"serve" : " babel-node scripts/serve.js" ,
31
- "pack" : " babel-node scripts/pack.js"
36
+ "pack" : " babel-node scripts/pack.js" ,
37
+ "test" : " mocha -R spec --compilers js:babel-core/register"
32
38
}
33
39
}
Original file line number Diff line number Diff line change
1
+ import { expect } from 'chai' ;
2
+
3
+ describe ( 'app' , ( ) => {
4
+
5
+ it ( 'should pass' , ( ) => {
6
+ expect ( true ) . to . be . true ;
7
+ } ) ;
8
+
9
+ } ) ;
You can’t perform that action at this time.
0 commit comments