vitest adjustments

This commit is contained in:
Ulf Gebhardt 2023-11-22 01:51:41 +01:00
parent 2851a5144f
commit 5c0d220276
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -8,13 +8,13 @@ export default mergeConfig(
test: { test: {
globals: true, globals: true,
environment: 'happy-dom', environment: 'happy-dom',
setupFiles: ['tests/mock.$t.ts', 'tests/plugin.vuetify.ts'], setupFiles: ['scripts/tests/mock.$t.ts', 'scripts/tests/plugin.vuetify.ts'],
coverage: { coverage: {
all: true, all: true,
include: ['src/**/*.{js,jsx,ts,tsx,vue}'], include: ['src/**/*.{js,jsx,ts,tsx,vue}'],
lines: 2, lines: 2,
functions: 0, functions: 0,
branches: 10, branches: 8,
statements: 2, statements: 2,
// 100: true, // 100: true,
}, },