mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-03 09:55:46 +00:00
feat(tests): configure coverage reporting for frontend tests with v8 provider
This commit is contained in:
@@ -11,6 +11,18 @@ export default defineConfig({
|
||||
setupFiles: ["tests/frontend/setup.js"],
|
||||
ui: false,
|
||||
open: false,
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "json-summary"],
|
||||
reportsDirectory: "./coverage",
|
||||
include: ["meshchatx/src/frontend/**/*.{js,vue}"],
|
||||
exclude: [
|
||||
"meshchatx/src/frontend/**/*.d.ts",
|
||||
"meshchatx/src/frontend/public/**",
|
||||
"meshchatx/src/frontend/locales/**",
|
||||
"**/node_modules/**",
|
||||
],
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user