mirror of
https://github.com/gotson/komga.git
synced 2026-01-18 14:15:24 +01:00
vitest coverage
This commit is contained in:
parent
e89bc3741e
commit
d31fdce5c0
3 changed files with 6 additions and 0 deletions
1
next-ui/.gitignore
vendored
1
next-ui/.gitignore
vendored
|
|
@ -27,3 +27,4 @@ src/i18n
|
|||
|
||||
*storybook.log
|
||||
storybook-static
|
||||
coverage
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@
|
|||
"preview": "vite preview",
|
||||
"build-only": "vite build",
|
||||
"test": "vitest run",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:unit": "vitest run --project unit",
|
||||
"test:unit:coverage": "vitest run --project unit --coverage",
|
||||
"test:unit:watch": "vitest watch --project unit",
|
||||
"test:storybook": "vitest run --project storybook",
|
||||
"type-check": "vue-tsc --build --force",
|
||||
|
|
|
|||
|
|
@ -87,6 +87,9 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
test: {
|
||||
coverage: {
|
||||
reporter: ['text', 'json-summary', 'json', 'html'],
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
extends: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue