MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / project

Function project

e2e/vitest.config.ts:7–17  ·  view source on GitHub ↗
(name: string, overrides: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

5// Each project's globalsetup boots that app's OWN dev server (or attaches to
6// E2E_<TARGET>_URL). Scenarios are isolated by fresh identities, not resets.
7const project = (name: string, overrides: Record<string, unknown> = {}) => ({
8 test: {
9 name,
10 include: ["scenarios/**/*.test.ts", `${name}/**/*.test.ts`],
11 env: { E2E_TARGET: name },
12 globalSetup: [`./setup/${name}.globalsetup.ts`],
13 testTimeout: 180_000,
14 hookTimeout: 120_000,
15 ...overrides,
16 },
17});
18
19export default defineConfig({
20 test: {

Callers 1

vitest.config.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected