Update vitest templates

This commit is contained in:
Alex Lohr
2022-11-21 21:31:03 +01:00
parent 8671428a75
commit 28ebc31924
13 changed files with 1064 additions and 1279 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ export default defineConfig({
transformMode: {
web: [/\.jsx?$/],
},
setupFiles: './setupVitest.js',
setupFiles: ['node_modules/@testing-library/jest-dom/extend-expect.js'],
// otherwise, solid would be loaded twice:
deps: { registerNodeLoader: true },
// if you have few tests, try commenting one
// or both out to improve performance:
// threads: false,