summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startRegistration.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-08-16 22:44:36 -0700
committerGitHub <noreply@github.com>2022-08-16 22:44:36 -0700
commit3fee22f217053933cffc8c68ee5236ddaadd3b3f (patch)
tree7899844a57e4492303d900f175a2b4641f2e7ad0 /packages/browser/src/methods/startRegistration.test.ts
parent2de1972b2461837a83a40a6bbb6cb51719002d3b (diff)
parent963c20b39c54c500aceb032af6d6163448b772e0 (diff)
Merge pull request #257 from MasterKale/fix/rename-browser-supports-webauthn
fix/rename-browser-supports-webauthn
Diffstat (limited to 'packages/browser/src/methods/startRegistration.test.ts')
-rw-r--r--packages/browser/src/methods/startRegistration.test.ts6
1 files changed, 3 insertions, 3 deletions
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';