feat: 기능 추가 과정중
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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/**"],
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reportsDirectory: "artifacts/tests/coverage",
|
||||
reporter: ["text", "json-summary", "lcov"],
|
||||
include: [
|
||||
"src/application/create-application.ts",
|
||||
"src/application/policies/**/*.ts",
|
||||
"src/application/use-cases/**/*.ts",
|
||||
"src/contracts/diagnostics.ts",
|
||||
"src/adapters/http/retry-policy.ts",
|
||||
"src/adapters/storage/browser-storage-adapter.ts",
|
||||
"src/adapters/telemetry/best-effort-telemetry.ts",
|
||||
"src/features/reference-feature/adapters/reference-http-gateway.ts",
|
||||
"src/presentation/adapters/query/application-query.ts",
|
||||
"scripts/lib/registry-compatibility.ts",
|
||||
],
|
||||
exclude: ["**/*.d.ts", "**/*.stories.*"],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user