mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 13:23:13 +00:00
chore: improve tsconfigs
This commit is contained in:
12
apps/login/vitest.config.mts
Normal file
12
apps/login/vitest.config.mts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tsconfigPaths(), react()],
|
||||
test: {
|
||||
include: ["src/**/*.test.ts", "src/**/*.test.tsx"],
|
||||
environment: "jsdom",
|
||||
setupFiles: ["@testing-library/jest-dom/vitest"],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user