feat: use vitest for testing

This commit is contained in:
Anthony Fu committed 2021-12-09 20:51:51 +08:00
1 parent a60ca7b7a6
commit f59d4d60bd
10 files changed
+2055 -8

No files matched your search

+5
View File
@@ -25,6 +25,7 @@ export default defineConfig({
'vue',
'vue-router',
'@vueuse/core',
'vitest',
],
dts: true,
}),
@@ -60,4 +61,8 @@ export default defineConfig({
'vue-demi',
],
},
test: {
dom: 'jsdom',
},
})