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

Function createMockWebAuthnModel

tests/mocks.ts:548–553  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546}
547
548export function createMockWebAuthnModel(): sinon.SinonStubbedInstance<DevTools.WebAuthnModel.WebAuthnModel> {
549 const model = sinon.createStubInstance(DevTools.WebAuthnModel.WebAuthnModel);
550 model.setVirtualAuthEnvEnabled.resolves();
551 model.getCredentials.resolves([]);
552 return model;
553}
554
555function isAuthenticatorId(
556 id: unknown,

Callers 1

createWebAuthnPageFunction · 0.85

Calls

no outgoing calls

Tested by 1

createWebAuthnPageFunction · 0.68