Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup!: use beforeEach
  • Loading branch information
jsjoeio committed Apr 12, 2022
commit 7a3b266f2d4d1c85ac10a87f824209d062296abe
4 changes: 1 addition & 3 deletions test/unit/node/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe("parser", () => {
beforeEach(() => {
delete process.env.LOG_LEVEL
delete process.env.PASSWORD
delete process.env.CS_DISABLE_FILE_DOWNLOADS
Comment thread
jsjoeio marked this conversation as resolved.
console.log = jest.fn()
})

Expand Down Expand Up @@ -359,9 +360,6 @@ describe("parser", () => {
...defaults,
"disable-file-downloads": true,
})

// Cleanup
delete process.env.CS_DISABLE_FILE_DOWNLOADS
})

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