We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f04a2c5 commit 3c95bc9Copy full SHA for 3c95bc9
1 file changed
test/specs/cli.spec.js
@@ -15,17 +15,8 @@ describe("bump", () => {
15
this.timeout(Math.max(5000, this.timeout()));
16
let bump = chaiExec("", { timeout: 2500 });
17
18
- if (bump.status) {
19
- // The CLI threw an error, because there is no STDIN
20
- expect(bump).to.have.exitCode(1);
21
- }
22
- else {
23
- expect(bump.signal).to.be.oneOf(["SIGINT", "SIGTERM"]);
24
25
-
26
- // Regardless of how it exited, it should have prompted for input
+ // It should have prompted for input
27
expect(bump.stdout).to.contain("The current version is 1.0.0\nHow would you like to bump it? (Use arrow keys)");
28
- expect(bump).to.have.stderr("");
29
});
30
31
it("should error if an invalid argument is used", () => {
0 commit comments