Skip to content

Commit d8e2f3c

Browse files
Removed debugging code
1 parent 742932b commit d8e2f3c

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

test/specs/cli.spec.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,10 @@ describe("bump", () => {
1313
// Run the CLI without any arguments.
1414
// It will prompt the user and wait forever, so add a timeout.
1515
this.timeout(Math.max(10000, this.timeout()));
16-
let bump = chaiExec("", { timeout: 5000 });
17-
18-
try {
19-
// It should have prompted for input
20-
expect(bump.stdout).to.contain("The current version in package.json is 1.0.0\nHow would you like to bump it? (Use arrow keys)");
21-
}
22-
catch (error) {
23-
console.log(
24-
"====================== begin bump output ======================\n",
25-
bump,
26-
"\n====================== end bump output ======================"
27-
);
28-
throw error;
29-
}
16+
let bump = chaiExec("", { timeout: 6000 });
17+
18+
// It should have prompted for input
19+
expect(bump.stdout).to.contain("The current version in package.json is 1.0.0\nHow would you like to bump it? (Use arrow keys)");
3020
});
3121

3222
it("should error if an invalid argument is used", () => {

0 commit comments

Comments
 (0)