chore: initialize from frontend template 4dc033c
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import { configDefaults, defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: false,
|
||||
setupFiles: ["./tests/setup.ts"],
|
||||
restoreMocks: true,
|
||||
clearMocks: true,
|
||||
mockReset: true,
|
||||
testTimeout: 10_000,
|
||||
exclude: [
|
||||
...configDefaults.exclude,
|
||||
".tmp/**",
|
||||
"tests/fixtures/v8-coverage-counter-semantics/**",
|
||||
],
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reportsDirectory: "artifacts/tests/coverage",
|
||||
reporter: ["text", "json-summary", "lcov"],
|
||||
include: ["src/**/*.{ts,tsx}"],
|
||||
exclude: ["**/*.d.ts", "**/*.stories.*"],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user