frontend/test/vitest.config.ts

18 lines
368 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
env: {
TZ: "Etc/UTC",
IS_TEST: "true",
},
setupFiles: ["./test/setup.ts"],
coverage: {
include: ["src/data/**/*", "src/common/**/*"],
reporter: ["text", "html"],
provider: "v8",
reportsDirectory: "test/coverage",
},
},
});