Skip to content

Commit 12231cd

Browse files
committed
test(vitest): reset mocks automatically and stop importing globals automatically
1 parent a64b900 commit 12231cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import {defineConfig} from 'vitest/config';
22

3-
export default defineConfig({test: {globals: true, restoreMocks: true}});
3+
export default defineConfig({test: {restoreMocks: true, mockReset: true}});

0 commit comments

Comments
 (0)