mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
feat(tests): configure coverage reporting for frontend tests with v8 provider
This commit is contained in:
parent
5bfec923f4
commit
a18f77cfad
1 changed files with 12 additions and 0 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue