Skip to content

Commit 0b39eb6

Browse files
committed
- Travis: Attempt to use patched mocha-multi-reporters to resolve Travis issue
1 parent ceca537 commit 0b39eb6

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.mocharc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module.exports = {
2-
// Seemingly not being picked up (Node 8 only?), so just expressing on CL for now
3-
// See https://github.com/stanleyhlng/mocha-multi-reporters/pull/61
4-
// delay: true,
5-
// reporter: 'mocha-multi-reporters'
2+
delay: true,
3+
reporter: 'mocha-multi-reporters'
64
};

package-lock.json

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"esm": "^3.2.25",
7777
"mocha": "^7.0.0",
7878
"mocha-badge-generator": "git+https://github.com/brettz9/mocha-badge-generator.git#updated-badge-up",
79-
"mocha-multi-reporters": "^1.1.7",
79+
"mocha-multi-reporters": "git+https://github.com/brettz9/mocha-multi-reporters.git#missing-reporter",
8080
"node-static": "^0.7.11",
8181
"nyc": "^15.0.0",
8282
"open-cli": "^5.0.0",
@@ -121,7 +121,7 @@
121121
"open-docs": "open-cli http://localhost:8084/docs/ts/ && npm start",
122122
"coverage": "open-cli http://localhost:8084/coverage/ && npm start",
123123
"coverage-badge": "coveradge --color brightgreen badges/coverage-badge.svg",
124-
"mocha": "mocha --require esm --require test-helpers/node-env.js --reporter=mocha-multi-reporters --delay --reporter-options configFile=mocha-multi-reporters.json test",
124+
"mocha": "mocha --require esm --require test-helpers/node-env.js --reporter-options configFile=mocha-multi-reporters.json test",
125125
"test": "npm run rollup && npm run mocha",
126126
"test-cov": "rm -Rf ./coverage && rm -Rf ./node_modules/.cache && nyc --all npm run mocha && npm run coverage-badge",
127127
"open": "open-cli http://localhost:8084/demo/ && npm start",

0 commit comments

Comments
 (0)