Skip to content

Commit 025d8c3

Browse files
Workaround for a bug in nyc when running in CI on Windows
1 parent 83a0b37 commit 025d8c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ language: node_js
99
node_js:
1010
- 8
1111
- 10
12-
- 12.10 # HACK: Nyc + Mocha fails on Node 12.11 on Windows. Awaiting a fix
12+
- 12
1313

1414
os:
1515
- linux

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
"build": "tsc",
3838
"watch": "tsc --watch",
3939
"test": "mocha && npm run lint",
40-
"coverage": "nyc mocha",
4140
"upgrade": "npm-check -u",
41+
"coverage": "nyc node_modules/mocha/bin/mocha",
4242
"bump": "bump --tag --push --all",
4343
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
4444
},

0 commit comments

Comments
 (0)