Prepare vitest

This commit is contained in:
wvffle 2022-08-31 22:36:40 +00:00 committed by Georg Krause
commit 0541da444b
11 changed files with 529 additions and 1800 deletions

View file

@ -7,14 +7,16 @@
"noUnusedLocals": true,
"typeRoots": ["node_modules/@types"],
"types": [
"vitest/globals",
"vite/client",
"vue/ref-macros",
"vue-gettext/types",
"vite-plugin-pwa/client"
],
"paths": {
"?/*": ["tests/unit/*"],
"~/*": ["src/*"]
}
},
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts"]
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.vue", "vite.config.ts", "tests/**/*.ts"]
}