Fix silently skipped change-consent gate suite by awaiting Postgres probe

The embedded-Postgres support probe returned a promise that was never
awaited, so `supported` was always falsy and all 4 gate tests skipped.
QA (PAP-13227) validated this fix; committing it so the suite stays live.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-07-09 20:50:34 +00:00
1 parent 79de7880cb
commit e6ecaa182e
1 file changed
+1 -1
@@ -17,7 +17,7 @@ import {
skillChangeTargetKey,
} from "../services/change-consent-gate.js";
const embeddedPostgresSupport = getEmbeddedPostgresTestSupport();
const embeddedPostgresSupport = await getEmbeddedPostgresTestSupport();
const describeEmbeddedPostgres = embeddedPostgresSupport.supported ? describe : describe.skip;
describeEmbeddedPostgres("changeConsentGateService", () => {