diff options
author | Jarrett Helton <jaydhelton@gmail.com> | 2021-08-24 18:40:09 -0400 |
---|---|---|
committer | Jarrett Helton <jaydhelton@gmail.com> | 2021-08-24 18:40:09 -0400 |
commit | 22260e63c0b2a91d8f5db4000304e73b2bff9277 (patch) | |
tree | 87c3ecded4690c29cb474d0d6cd69d5ac7ef5fe6 /packages/browser/src/methods/startAuthentication.test.ts | |
parent | 2bb27c6febdbacbd7bbe4356318a6b3fa6fd84db (diff) | |
parent | 30ecc73b9856747337523f1e367b10d9d96a4a95 (diff) |
Merge remote-tracking branch 'origin/master' into v4/rename-methods-and-types
Diffstat (limited to 'packages/browser/src/methods/startAuthentication.test.ts')
-rw-r--r-- | packages/browser/src/methods/startAuthentication.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts index 96b140c..acd97c3 100644 --- a/packages/browser/src/methods/startAuthentication.test.ts +++ b/packages/browser/src/methods/startAuthentication.test.ts @@ -5,16 +5,16 @@ import { AuthenticationExtensionsClientOutputs, } from '@simplewebauthn/typescript-types'; -import supportsWebauthn from '../helpers/supportsWebauthn'; +import { browserSupportsWebauthn } from '../helpers/browserSupportsWebauthn'; import utf8StringToBuffer from '../helpers/utf8StringToBuffer'; import bufferToBase64URLString from '../helpers/bufferToBase64URLString'; import startAuthentication from './startAuthentication'; -jest.mock('../helpers/supportsWebauthn'); +jest.mock('../helpers/browserSupportsWebauthn'); const mockNavigatorGet = window.navigator.credentials.get as jest.Mock; -const mockSupportsWebauthn = supportsWebauthn as jest.Mock; +const mockSupportsWebauthn = browserSupportsWebauthn as jest.Mock; const mockAuthenticatorData = 'mockAuthenticatorData'; const mockClientDataJSON = 'mockClientDataJSON'; |