Context
The initial GitHub Actions run generated the Prisma client successfully and passed typechecking and linting, but the full test command reported:
- 39 passing test suites
- 5 failing test suites
- 288 passing tests
- 7 failing tests
Affected areas include:
- payment gateway redirect behavior
- authorization boundary expectations
- architecture boundary expectations
- admin dashboard configuration
- Redis service configuration
Some failures are caused by required test environment variables not being defined; others are assertion or architecture-policy mismatches.
Acceptance criteria
Reproduction
npm ci
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/lingospeak npm run db:generate
npm test
Context
The initial GitHub Actions run generated the Prisma client successfully and passed typechecking and linting, but the full test command reported:
Affected areas include:
Some failures are caused by required test environment variables not being defined; others are assertion or architecture-policy mismatches.
Acceptance criteria
npm testpass from a clean checkoutnpm testas a required CI stepReproduction
npm ci DATABASE_URL=postgresql://postgres:postgres@localhost:5432/lingospeak npm run db:generate npm test