use vitest instead of jest

This commit is contained in:
Martti Malmi
2023-11-21 10:10:20 +02:00
parent f69e05d8fc
commit 60af57059b
5 changed files with 357 additions and 31 deletions

View File

@ -45,4 +45,8 @@ export default defineConfig({
global: {}, // needed for custom-event lib
SINGLE_RELAY: JSON.stringify(process.env.SINGLE_RELAY),
},
test: {
globals: true,
environment: 'jsdom',
},
});