File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 18
18
"eslint-config-airbnb-lite" : " ^1.0.3" ,
19
19
"eslint-watch" : " ^1.2.4" ,
20
20
"in-publish" : " ^2.0.0" ,
21
+ "isparta" : " ^3.0.3" ,
21
22
"mocha" : " ^2.2.5" ,
22
23
"precommit-hook" : " ^3.0.0"
23
24
},
24
25
"scripts" : {
25
26
"start" : " esw -w ." ,
26
27
"lint" : " eslint ." ,
27
28
"pretest" : " npm run -s lint" ,
28
- "test" : " npm run -s build && mocha --compilers js:babel/register" ,
29
+ "test" : " mocha --compilers js:babel/register" ,
30
+ "test:cov" : " `npm bin`/babel-node `npm bin`/isparta cover --report text --report html `npm bin`/_mocha" ,
29
31
"build" : " babel src --out-dir dist" ,
30
32
"prepublish" : " in-publish && npm run -s build || in-install"
31
33
},
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import fs from 'fs';
2
2
import path from 'path' ;
3
3
import { equal } from 'assert' ;
4
4
5
- import hook from '../' ;
5
+ import hook from '../src ' ;
6
6
7
7
const pipelines = {
8
8
'test-cases' : undefined ,
You can’t perform that action at this time.
0 commit comments