mirror of
https://github.com/Infisical/infisical.git
synced 2026-05-02 03:02:03 -04:00
22 lines
556 B
TypeScript
22 lines
556 B
TypeScript
import tsconfigPaths from "vite-tsconfig-paths"; // only if you are using custom tsconfig paths
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
env: {
|
|
NODE_ENV: "test"
|
|
},
|
|
environment: "./e2e-test/vitest-environment-knex.ts",
|
|
include: ["./e2e-test/**/*.spec.ts"],
|
|
poolOptions: {
|
|
threads: {
|
|
singleThread: true,
|
|
useAtomics: true,
|
|
isolate: false
|
|
}
|
|
}
|
|
},
|
|
plugins: [tsconfigPaths()] // only if you are using custom tsconfig paths,
|
|
});
|