diff options
author | Matthew Miller <matthew@millerti.me> | 2022-06-20 11:12:24 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-06-20 11:12:24 -0700 |
commit | 79099a818ae5986f8d2e1606a0801e1057836c16 (patch) | |
tree | 357da3bc529fce4da816b9c319d266cfd79497cb /packages/browser/src | |
parent | f6f23e7207c79b2eefd7c003a20f55963b50cd7a (diff) |
Fix browser method imports in tests
Diffstat (limited to 'packages/browser/src')
-rw-r--r-- | packages/browser/src/methods/startAuthentication.test.ts | 2 | ||||
-rw-r--r-- | packages/browser/src/methods/startRegistration.test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts index 658b67c..f134dae 100644 --- a/packages/browser/src/methods/startAuthentication.test.ts +++ b/packages/browser/src/methods/startAuthentication.test.ts @@ -11,7 +11,7 @@ import bufferToBase64URLString from '../helpers/bufferToBase64URLString'; import { WebAuthnError } from '../helpers/structs'; import { generateCustomError } from '../helpers/__jest__/generateCustomError'; -import startAuthentication from './startAuthentication'; +import { startAuthentication } from './startAuthentication'; jest.mock('../helpers/browserSupportsWebauthn'); diff --git a/packages/browser/src/methods/startRegistration.test.ts b/packages/browser/src/methods/startRegistration.test.ts index fcd4a2c..58d9acd 100644 --- a/packages/browser/src/methods/startRegistration.test.ts +++ b/packages/browser/src/methods/startRegistration.test.ts @@ -11,7 +11,7 @@ import { WebAuthnError } from '../helpers/structs'; import utf8StringToBuffer from '../helpers/utf8StringToBuffer'; -import startRegistration from './startRegistration'; +import { startRegistration } from './startRegistration'; jest.mock('../helpers/browserSupportsWebauthn'); |