Skip to content

Commit 65ecaee

Browse files
running testing + coverage without ts-node now
1 parent 467831b commit 65ecaee

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"cover-v4": "npm run prepare-test-v4 && nyc --exclude lib/models/v3/**/*.js mocha",
1515
"exec-tests": "mocha",
1616
"test": "npm run test-v4 && npm run test-v3",
17-
"clean-coverage": "rimraf .nyc_output && rimraf coverage",
18-
"cover": "npm install && npm run clean-coverage && npm run cover-v4",
17+
"cover": "npm run cover-v4 && npm run cover-v3",
1918
"lint": "tslint ."
2019
},
2120
"repository": {
@@ -93,7 +92,7 @@
9392
"lib/**/*"
9493
],
9594
"extension": [
96-
".ts"
95+
".js"
9796
],
9897
"reporter": [
9998
"lcov",

test/mocha.opts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
--require test/tsconfig.mocha
21
--require source-map-support/register
32
--recursive
43

5-
test/specs/**/*.ts
4+
test/specs/**/*.js

0 commit comments

Comments
 (0)