fix(sso): fix typecheck error in saml test

This commit is contained in:
Evan Enochs
2026-04-05 18:49:08 +01:00
committed by Gustavo Valverde
parent 5bdd6ecc7c
commit b09762afeb
+1 -1
View File
@@ -2250,7 +2250,7 @@ describe("SAML SSO", async () => {
const deflatedBuffer = Buffer.from(samlRequestParam, "base64");
const xml = inflateRawSync(deflatedBuffer).toString("utf-8");
const idMatch = xml.match(/ID="([^"]+)"/);
const authnRequestId = idMatch![1];
const authnRequestId = idMatch![1] as string;
let samlResponse: any;
await betterFetch(