proper coverage check

This commit is contained in:
Ulf Gebhardt 2023-11-17 18:54:33 +01:00
parent 1dcf26a1cc
commit 5c28726813
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -9,6 +9,15 @@ export default mergeConfig(
globals: true, globals: true,
environment: 'happy-dom', environment: 'happy-dom',
setupFiles: ['tests/mock.$t.ts', 'tests/plugin.vuetify.ts'], setupFiles: ['tests/mock.$t.ts', 'tests/plugin.vuetify.ts'],
coverage: {
all: true,
include: ['src/**/*.{js,jsx,ts,tsx,vue}'],
lines: 5.81,
functions: 0,
branches: 11.11,
statements: 5.81,
// 100: true,
},
}, },
}), }),
) )