mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
Preserve the bundled Hoplite ACP adapter and provisioning transformer, activate it only after Add, and provide a searchable provider grid. Restore the contributor's original icon without the copyright mark. Co-authored-by: Odin Glynn-Martin <odin.glynn@icloud.com>
28 lines
897 B
TypeScript
28 lines
897 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@server": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
// Fake-timer suites freeze p-throttle's clock, so a real per-second cap deadlocks them.
|
|
env: {
|
|
PASEO_GIT_MAX_PROCESSES_PER_SECOND: "10000",
|
|
},
|
|
testTimeout: 30000,
|
|
hookTimeout: 60000,
|
|
globals: true,
|
|
environment: "node",
|
|
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
|
pool: "forks",
|
|
fileParallelism: false,
|
|
// Even two concurrent Git-heavy suites can exhaust Windows test deadlines.
|
|
// Run files serially so their subprocesses do not compete across suites.
|
|
maxWorkers: process.platform === "win32" ? 1 : undefined,
|
|
exclude: ["**/node_modules/**", "**/dist/**", "**/.claude/**", "**/.dev/**"],
|
|
},
|
|
});
|