mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-25 13:10:15 +00:00
16 lines
384 B
TypeScript
16 lines
384 B
TypeScript
|
/// <reference types="vitest" />
|
||
|
/// <reference types="vite/client" />
|
||
|
|
||
|
import react from "@vitejs/plugin-react";
|
||
|
import { defineConfig } from "vite";
|
||
|
import tsconfigPaths from "vite-tsconfig-paths";
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [react(), tsconfigPaths()],
|
||
|
test: {
|
||
|
globals: true,
|
||
|
environment: "happy-dom",
|
||
|
setupFiles: ["./test/setup-test-env.ts"],
|
||
|
},
|
||
|
});
|