File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 29
29
},
30
30
"scripts" : {
31
31
"prepublish" : " npm test && npm run build" ,
32
- "test" : " npm run lint && npm run check && mocha $npm_package_options_mocha " ,
33
- "testonly" : " mocha $npm_package_options_mocha" ,
32
+ "test" : " npm run lint && npm run check && npm run testonly " ,
33
+ "testonly" : " babel-node ./node_modules/.bin/_mocha $npm_package_options_mocha" ,
34
34
"lint" : " eslint src" ,
35
35
"check" : " flow check" ,
36
36
"build" : " rm -rf lib/* && babel src --ignore __tests__ --out-dir lib" ,
Original file line number Diff line number Diff line change 7
7
* of patent rights can be found in the PATENTS file in the same directory.
8
8
*/
9
9
10
- require ( 'babel-register' ) ;
11
-
12
10
var chai = require ( 'chai' ) ;
13
11
14
12
var chaiAsPromised = require ( 'chai-as-promised' ) ;
You can’t perform that action at this time.
0 commit comments