Skip to content

Commit 177564c

Browse files
committed
Always clean process.env after test
1 parent cafbf8e commit 177564c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/frameworks/detection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ describe('Frameworks', () => {
44
describe('Detection', () => {
55
const backupProcessEnv: Record<string, string | undefined> = process.env;
66

7-
beforeEach(() => {
7+
afterEach(() => {
88
process.env = { ...backupProcessEnv };
99
});
1010

0 commit comments

Comments
 (0)