fix(GRO-1212/GRO-1213): fix DB mock imports in portal and waitlist test files #402

Merged
groombook-engineer[bot] merged 1 commits from fix/GRO-1212-portal-test-mock-imports into dev 2026-05-14 09:08:27 +00:00

1 Commits

Author SHA1 Message Date
Chris Farhood a9b9a0a733 fix(GRO-1212): add missing impersonationAuditLogs mock in portal.test.ts
Add impersonationAuditLogs table mock and db.insert() method to the
@groombook/db mock in portal.test.ts to resolve "No 'impersonationAuditLogs'
export is defined" errors. The portalAudit middleware calls db.insert()
on every request, which was missing from the mock.

Passes all 26 portal tests.
2026-05-14 08:50:01 +00:00