enable test coverage in ui

This commit is contained in:
Aakansha Doshi 2023-09-22 18:55:29 +05:30
parent e1b0b559f5
commit 17accffee3
2 changed files with 3 additions and 2 deletions

View file

@ -1,11 +1,12 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
setupFiles: ["./src/setupTests.ts"],
globals: true,
environment: "jsdom",
coverage: {
reporter: ["text", "json-summary", "json"],
reporter: ["text", "json-summary", "json", "html"],
lines: 70,
branches: 70,
functions: 68,