Skip to content

Commit fd7d501

Browse files
committed
feat: add vitest globals to workspace config
- add globals: true to vitest.config.ts on main path of workspace
1 parent 624e634 commit fd7d501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { defineConfig } from 'vitest/config';
1+
import { defineConfig } from 'vitest/config';
22

33
export default defineConfig({
44
test: {
55
projects: ['packages/**/vitest.config.ts'],
6+
globals: true,
67
},
78
});

0 commit comments

Comments
 (0)