mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
24 lines
595 B
TypeScript
24 lines
595 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
import react from "@vitejs/plugin-react";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tsconfigPaths()],
|
|
test: {
|
|
globals: true,
|
|
environment: "jsdom",
|
|
setupFiles: ["./src/test/setup.ts"],
|
|
coverage: {
|
|
provider: "v8",
|
|
reporter: ["text", "json", "html"],
|
|
exclude: [
|
|
"node_modules/",
|
|
"src/test/setup.ts",
|
|
"**/*.d.ts",
|
|
"**/*.test.ts",
|
|
"**/*.config.ts",
|
|
],
|
|
},
|
|
},
|
|
});
|