scripts/avatar-e2e.sh read the DEV keys through `supabase status`, started the worker on the DEV network and let the suite write and purge on DEV. Port the V1-2 sandbox runner (`db-sandbox.sh avatar-e2e`: loopback gateway, worker in a 600 env file) and the guarded suite (fixed URL, container and key issuer, per-run accounts); refusals and the positive run proven under strace in .claude/audits/2026-11-02-avatar-e2e-sandbox-only.md.
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,
|
|
},
|
|
})
|