We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ae1816 commit 94659f9Copy full SHA for 94659f9
2 files changed
.mocharc.yml
@@ -8,6 +8,6 @@ spec:
8
- test/specs/**/*.spec.js
9
10
bail: true
11
-timeout: 6000
+timeout: 10000
12
retries: 2
13
recursive: true
test/specs/cli.spec.js
@@ -6,13 +6,12 @@ const manifest = require("../../package.json");
6
7
describe("bump", () => {
- it("should run without any arguments", function () {
+ it("should run without any arguments", () => {
// Create a dummy package.json, otherwise an error will occur
files.create("package.json", { version: "1.0.0" });
// Run the CLI without any arguments.
14
// It will prompt the user and wait forever, so add a timeout.
15
- this.timeout(Math.max(10000, this.timeout()));
16
let cli = bump("", { timeout: 6000 });
17
18
// It should have prompted for input
0 commit comments