feat: import upstream ZITADEL Login V2 v4.20.4 source workspace
This commit is contained in:
1 parent
eadd0e558b
commit
4404849fc4
644 files changed
+153201
-10
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import { fileURLToPath } from "url";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tsconfigPaths(), react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"server-only": fileURLToPath(
|
||||
new URL("./test-mocks/server-only.ts", import.meta.url),
|
||||
),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
include: ["src/**/*.test.ts", "src/**/*.test.tsx", "tests/**/*.test.ts"],
|
||||
exclude: ["**/*.integration.test.ts"],
|
||||
environment: "jsdom",
|
||||
setupFiles: ["./test-setup.ts"],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user