File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ node_modules
7
7
/node-client /src /typings.json
8
8
.vscode /*
9
9
examples /package-lock.json
10
+ node-client /.nyc_output
10
11
Original file line number Diff line number Diff line change 18
18
"clean" : " rm -Rf node_modules/ dist/" ,
19
19
"build" : " tsc" ,
20
20
"watch" : " tsc --watch" ,
21
- "test" : " mocha -r ts-node/register src/**/*_test.ts"
21
+ "test" : " nyc mocha"
22
+ },
23
+ "nyc" : {
24
+ "include" : [ " src/**/*.ts" ],
25
+ "extension" : [ " .ts" ],
26
+ "require" : [ " ts-node/register" ],
27
+ "reporter" : [ " text-summary" ],
28
+ "sourceMap" : true ,
29
+ "instrument" : true
22
30
},
23
31
"author" : " Kubernetes Authors" ,
24
32
"license" : " Apache-2.0" ,
46
54
"chai" : " ^4.0.2" ,
47
55
"jasmine" : " ^2.8.0" ,
48
56
"mocha" : " ^3.4.2" ,
57
+ "nyc" : " ^12.0.2" ,
49
58
"ts-node" : " ^3.1.0" ,
50
59
"tslint" : " ^5.10.0" ,
51
60
"typescript" : " ^2.6.2"
Original file line number Diff line number Diff line change
1
+ --compilers ts-node/register
2
+ --require source-map-support/register
3
+ --full-trace
4
+ --bail
5
+ src/**/*_test.ts
You can’t perform that action at this time.
0 commit comments