MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / createMockWebAuthnModel

Function createMockWebAuthnModel

tests/mocks.ts:571–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

569}
570
571export function createMockWebAuthnModel(): sinon.SinonStubbedInstance<DevTools.WebAuthnModel.WebAuthnModel> {
572 const model = sinon.createStubInstance(DevTools.WebAuthnModel.WebAuthnModel);
573 model.setVirtualAuthEnvEnabled.resolves();
574 model.getCredentials.resolves([]);
575 return model;
576}
577
578function isAuthenticatorId(
579 id: unknown,

Callers 1

createWebAuthnPageFunction · 0.85

Calls

no outgoing calls

Tested by 1

createWebAuthnPageFunction · 0.68