We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fafa856 commit 4b07c23Copy full SHA for 4b07c23
typescript/vitest.config.mjs
@@ -1,12 +1,10 @@
1
-import { defineConfig } from "vite";
2
-import react from "@vitejs/plugin-react";
+import { defineConfig } from "vitest/config";
3
import path from "path";
4
import { fileURLToPath } from "url";
5
6
const __dirname = path.dirname(fileURLToPath(import.meta.url));
7
8
export default defineConfig({
9
- plugins: [react()],
10
test: {
11
environment: "jsdom",
12
setupFiles: ["./tests/setup.ts"],
0 commit comments