Skip to content

Commit 7a3b266

Browse files
committed
fixup!: use beforeEach
1 parent d98a6dd commit 7a3b266

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/unit/node/cli.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ describe("parser", () => {
4242
beforeEach(() => {
4343
delete process.env.LOG_LEVEL
4444
delete process.env.PASSWORD
45+
delete process.env.CS_DISABLE_FILE_DOWNLOADS
4546
console.log = jest.fn()
4647
})
4748

@@ -359,9 +360,6 @@ describe("parser", () => {
359360
...defaults,
360361
"disable-file-downloads": true,
361362
})
362-
363-
// Cleanup
364-
delete process.env.CS_DISABLE_FILE_DOWNLOADS
365363
})
366364

367365
it("should error if password passed in", () => {

0 commit comments

Comments
 (0)