Skip to content

Commit 123551b

Browse files
committed
deps: bump mocha + add --exit flag
1 parent 90e7306 commit 123551b

File tree

3 files changed

+36
-27
lines changed

3 files changed

+36
-27
lines changed

package-lock.json

+31-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"lint": "prettier 'lib/**/*' 'examples/*' 'test/specs/**/*' 'test/specs/*.js' --write --tab-width 4",
2727
"pro": "protractor test/protractor/config.single.js",
2828
"pro-local": "node test/protractor/setup.js",
29-
"unit": "mocha --recursive test/specs --timeout 10000 --bail",
29+
"unit": "mocha --recursive test/specs --timeout 10000 --bail --exit",
3030
"pre-release": "npm test && npm run pro-local && npm run pro",
3131
"lodash": "lodash include=isUndefined,isFunction,toArray,includes,union,each,isString,merge,isObject,set exports=node",
3232
"prepublishOnly": "cb build-all"
@@ -76,7 +76,7 @@
7676
"graceful-fs": "4.1.9",
7777
"http2": "^3.3.6",
7878
"lodash-cli": "4.17.5",
79-
"mocha": "4.1.0",
79+
"mocha": "5.2.0",
8080
"prettier": "^1.9.2",
8181
"q": "1.4.1",
8282
"request": "2.87.0",

test/specs/cli/cli.options.watch.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ describe("CLI: Options: Merging Watch Option", function() {
132132
var config = merge(input);
133133

134134
assert.ok(config.getIn(["watchOptions", "ignored"]).contains("*.json"));
135-
assert.ok(config.getIn(["watchOptions", "ignored"]).contains("*.json2"));
135+
assert.ok(
136+
config.getIn(["watchOptions", "ignored"]).contains("*.json2")
137+
);
136138
assert.ok(config.getIn(["watchOptions", "ignored"]).contains("*.txt"));
137139
});
138140
});

0 commit comments

Comments
 (0)