mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 07:28:09 -05:00
29 lines
609 B
TypeScript
29 lines
609 B
TypeScript
import path from "path";
|
|
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
|
|
}
|
|
},
|
|
alias: {
|
|
"./license-fns": path.resolve(__dirname, "./src/ee/services/license/__mocks__/license-fns")
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@app": path.resolve(__dirname, "./src")
|
|
}
|
|
}
|
|
});
|