Skip to content

Commit 5f7ad28

Browse files
debugging failing tests in CI
1 parent 30e421c commit 5f7ad28

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.mocharc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ spec:
77
- test/fixtures/mocha-hooks.js
88
- test/specs/**/*.spec.js
99

10-
bail: false
10+
bail: true
1111
timeout: 10000
1212
slow: 2000
1313
retries: 2

test/specs/cli.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe("bump", () => {
4747
it("should print a more detailed error if DEBUG is set", () => {
4848
files.create("package.json", { version: "" });
4949

50-
let cli = bump("major", { env: { DEBUG: "true" }});
50+
let cli = bump("major", { env: { ...process.env, DEBUG: "true" }});
5151

5252
expect(cli).to.have.stdout("");
5353
expect(cli).to.have.exitCode(1);

0 commit comments

Comments
 (0)