Make Vitest helpers global

This commit is contained in:
Steve Kinney
2024-10-01 16:49:45 -05:00
parent 45f8282a05
commit 7f6b9ad691
19 changed files with 48 additions and 32 deletions

View File

@@ -16,4 +16,9 @@ export default defineConfig({
},
},
},
test: {
environment: 'happy-dom',
globals: true,
setupFiles: ['@testing-library/jest-dom/vitest'],
},
});