|
All checks were successful
PR checks / checks (pull_request) Successful in 30s
Green-lights the test suite so the PR checks can enforce it:
- Fix the NextAuth v5 auth() mock typing across all integration tests (cast to a
simple async fn so mockResolvedValue accepts the session) — clears ~86 errors.
- Fix stale test values: intent 'resubmit'->'submit' / 'save'->'draft'; ParsedImportLine
.description -> .name; approvepo -> approvePo; add missing beforeEach/beforeAll imports.
- permissions: MANAGER *can* process_payment (intentional since
|
||
|---|---|---|
| .. | ||
| approval-actions.test.ts | ||
| confirm-receipt.test.ts | ||
| create-po.test.ts | ||
| discard-po.test.ts | ||
| helpers.ts | ||
| import-api.test.ts | ||
| manager-po-creation.test.ts | ||
| payment-actions.test.ts | ||
| products-search.test.ts | ||
| vendor-approval.test.ts | ||