We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8688603 commit 24c8afdCopy full SHA for 24c8afd
packages/config/src/__tests__/test.ts
@@ -1,4 +1,5 @@
1
export function setEnv(env: Record<string, string>) {
2
+ if (!process.env) process.env = {};
3
Object.keys(process.env).forEach((key) => {
4
vi.stubEnv(key, '');
5
});
0 commit comments