fix(sso): fix typecheck error in saml test

This commit is contained in:
Evan Enochs
2026-03-14 16:32:27 -04:00
committed by Gustavo Valverde
parent 5bdd6ecc7c
commit b09762afeb

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(