2
0

vitest.config.mts 388 B

123456789101112131415161718
  1. import { defineConfig } from "vitest/config";
  2. export default defineConfig({
  3. test: {
  4. setupFiles: ["./setupTests.ts"],
  5. globals: true,
  6. environment: "jsdom",
  7. coverage: {
  8. reporter: ["text", "json-summary", "json", "html", "lcovonly"],
  9. thresholds: {
  10. lines: 70,
  11. branches: 70,
  12. functions: 68,
  13. statements: 70,
  14. },
  15. },
  16. },
  17. });