pnpm e2e:avatar is now an alias of pnpm db:sandbox avatar-e2e and the DEV script scripts/avatar-e2e.sh is removed; the suite fails on any target but the sandbox gateway and database; an occupied port 57800 stops the run before anything starts. The sandbox replaces the seed accounts' DEV password by a per-session secret.
18 lines
485 B
TypeScript
18 lines
485 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
/**
|
|
* Real-stack end-to-end suite (tests/e2e/*.e2e.ts): the throwaway stack and the
|
|
* worker container, both started by `pnpm e2e:avatar` (scripts/db-sandbox.sh).
|
|
* Kept out of the default `test:run` include on purpose.
|
|
*/
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
include: ['tests/e2e/**/*.e2e.ts'],
|
|
fileParallelism: false,
|
|
testTimeout: 120_000,
|
|
hookTimeout: 120_000,
|
|
},
|
|
})
|