quivr/frontend/vitest.config.ts

20 lines
436 B
TypeScript
Raw Normal View History

import react from "@vitejs/plugin-react";
import path from "path";
import { defineConfig } from "vitest/config";
// https://vitejs.dev/config/
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
globals: true,
setupFiles: ["dotenv/config"],
},
resolve: {
alias: {
"@": path.resolve(__dirname, "."),
},
},
});