Gitea Actions Runner Test / test-job (push) Successful in 1s
CI / check (push) Failing after 22s
CI / tests-unit (push) Skipped
CI / tests-integration (push) Skipped
CI / tests-ui (push) Skipped
CI / preflight (push) Skipped
CI / deploy (push) Skipped
24 lines
552 B
TypeScript
24 lines
552 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
"server-only": fileURLToPath(
|
|
new URL("./src/test/server-only-stub.ts", import.meta.url),
|
|
),
|
|
},
|
|
},
|
|
test: {
|
|
setupFiles: ["./vitest.setup.ts"],
|
|
environment: "node",
|
|
include: ["integration/**/*.test.ts"],
|
|
fileParallelism: false,
|
|
maxWorkers: 1,
|
|
hookTimeout: 180_000,
|
|
testTimeout: 60_000,
|
|
coverage: { enabled: false },
|
|
},
|
|
});
|