mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 02:44:50 +01:00
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:
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", () => {
|
||||
|
||||
Reference in new issue
Block a user