Narrow relay JWT verify error test

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-06-08 16:11:35 +00:00
1 parent c0f91ed832
commit cbc057a209
1 file changed
+3
+3
View File
@@ -88,6 +88,9 @@ describe("relayJwt", () => {
}).pipe(Effect.flip);
assert.equal(error._tag, "RelayJwtVerifyError");
if (error._tag !== "RelayJwtVerifyError") {
assert.fail(`Expected RelayJwtVerifyError, got ${error._tag}`);
}
assert.equal(error.typ, "other+jwt");
assert.equal(error.issuer, "https://relay.example.test");
assert.equal(error.audience, "https://relay.example.test");