Make Vitest helpers global
This commit is contained in:
@@ -16,4 +16,9 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: 'happy-dom',
|
||||
globals: true,
|
||||
setupFiles: ['@testing-library/jest-dom/vitest'],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user