()
| 569 | } |
| 570 | |
| 571 | export 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 | |
| 578 | function isAuthenticatorId( |
| 579 | id: unknown, |
no outgoing calls