forked from baron/baron-sso
21 lines
469 B
TypeScript
21 lines
469 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
fs: {
|
|
allow: [
|
|
fileURLToPath(new URL(".", import.meta.url)),
|
|
fileURLToPath(new URL("../common", import.meta.url)),
|
|
],
|
|
},
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: "jsdom",
|
|
include: ["src/**/*.{test,spec}.{ts,tsx}"],
|
|
},
|
|
});
|