Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/passkeys-browser/test/ceremonies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ describe("PkAuthCeremonyClient.authenticate (end-to-end with stubbed credentials
"/authentication/finish": { token: "t" },
};
// conditional = true -> mediation set
const getCond = vi.fn(async () => fakeAssertion(new Uint8Array([1])));
const getCond = vi.fn(async (_options?: CredentialRequestOptions) => fakeAssertion(new Uint8Array([1])));
const a = ceremonyFetch(responses);
await new PkAuthCeremonyClient(
{ apiBase: "https://x", fetch: a.fetchImpl as unknown as typeof fetch },
Expand All @@ -446,7 +446,7 @@ describe("PkAuthCeremonyClient.authenticate (end-to-end with stubbed credentials
).toBe("conditional");

// conditional defaults to false -> no mediation
const getPlain = vi.fn(async () => fakeAssertion(new Uint8Array([1])));
const getPlain = vi.fn(async (_options?: CredentialRequestOptions) => fakeAssertion(new Uint8Array([1])));
const b = ceremonyFetch(responses);
await new PkAuthCeremonyClient(
{ apiBase: "https://x", fetch: b.fetchImpl as unknown as typeof fetch },
Expand Down
Loading