vitest.config.ts 335 B

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