From 8432ac818889a7b36bbfb4c620365d0ea3189b0f Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Tue, 16 Aug 2022 22:34:15 -0700 Subject: Capitalize the "A" in "Webauthn" --- packages/browser/src/methods/startRegistration.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/browser/src/methods/startRegistration.test.ts') diff --git a/packages/browser/src/methods/startRegistration.test.ts b/packages/browser/src/methods/startRegistration.test.ts index 381830e..9a7196b 100644 --- a/packages/browser/src/methods/startRegistration.test.ts +++ b/packages/browser/src/methods/startRegistration.test.ts @@ -5,7 +5,7 @@ import { RegistrationCredential, } from '@simplewebauthn/typescript-types'; import { generateCustomError } from '../helpers/__jest__/generateCustomError'; -import { browserSupportsWebauthn } from '../helpers/browserSupportsWebauthn'; +import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn'; import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString'; import { WebAuthnError } from '../helpers/structs'; import { webauthnAbortService } from '../helpers/webAuthnAbortService'; @@ -14,10 +14,10 @@ import { utf8StringToBuffer } from '../helpers/utf8StringToBuffer'; import { startRegistration } from './startRegistration'; -jest.mock('../helpers/browserSupportsWebauthn'); +jest.mock('../helpers/browserSupportsWebAuthn'); const mockNavigatorCreate = window.navigator.credentials.create as jest.Mock; -const mockSupportsWebauthn = browserSupportsWebauthn as jest.Mock; +const mockSupportsWebauthn = browserSupportsWebAuthn as jest.Mock; const mockAttestationObject = 'mockAtte'; const mockClientDataJSON = 'mockClie'; -- cgit v1.2.3