Skip to content

Commit af93881

Browse files
committed
test(utils): fix flaky environment variable test
1 parent 6ac1cac commit af93881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/utils/src/lib/env.unit.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ describe('isEnvVarEnabled', () => {
77
});
88

99
it('should consider missing variable disabled', () => {
10+
vi.stubEnv('CP_VERBOSE', undefined!);
1011
expect(isEnvVarEnabled('CP_VERBOSE')).toBe(false);
1112
});
1213

0 commit comments

Comments
 (0)