summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAuthentication.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-19 23:54:08 -0800
committerMatthew Miller <matthew@millerti.me>2022-11-19 23:54:08 -0800
commitc01fd8466b633c103661652e00e90678f4d9e287 (patch)
treecb50048122ed209bc6e7375dda36d76507c016b3 /packages/browser/src/methods/startAuthentication.test.ts
parent2740f81eb2b7e31610b2250baf59591da9828ea3 (diff)
Fix issues in Browser due to TypeScript upgrade
Diffstat (limited to 'packages/browser/src/methods/startAuthentication.test.ts')
-rw-r--r--packages/browser/src/methods/startAuthentication.test.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts
index e112124..9ebdd77 100644
--- a/packages/browser/src/methods/startAuthentication.test.ts
+++ b/packages/browser/src/methods/startAuthentication.test.ts
@@ -116,6 +116,7 @@ test('should return base64url-encoded response values', async () => {
},
getClientExtensionResults: () => ({}),
type: 'webauthn.get',
+ authenticatorAttachment: '',
});
});
});
@@ -163,7 +164,9 @@ test('should send extensions to authenticator if present in options', async () =
const extensions: AuthenticationExtensionsClientInputs = {
credProps: true,
appid: 'appidHere',
+ // @ts-ignore
uvm: true,
+ // @ts-ignore
appidExclude: 'appidExcludeHere',
};
const optsWithExts: PublicKeyCredentialRequestOptionsJSON = {