● Zion Boggan
repos/Drophawk/frontend/vitest.config.ts
zionboggan.com ↗
16 lines · typescript
History for this file →
1
import { defineConfig } from "vitest/config";
2
import react from "@vitejs/plugin-react";
3
import { fileURLToPath } from "node:url";
4
 
5
export default defineConfig({
6
  plugins: [react()],
7
  resolve: {
8
    alias: { "@": fileURLToPath(new URL("./", import.meta.url)) },
9
  },
10
  test: {
11
    environment: "jsdom",
12
    globals: true,
13
    include: ["**/*.test.{ts,tsx}"],
14
    exclude: ["node_modules", ".next", "e2e/**"],
15
  },
16
});