summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startAuthentication.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-07-28 10:15:46 -0700
committerGitHub <noreply@github.com>2022-07-28 10:15:46 -0700
commit9e260901cf3ae69b40f50b7a1fd4ac5388186a08 (patch)
treef7fe58214818bae6bec73a759087cf3d4a53c1a7 /packages/browser/src/methods/startAuthentication.test.ts
parent522f00d9ae613ff1f51f0c1aca85a6ae129381c5 (diff)
parent2b9f082fc129566b97ec6f72cf390c25f55647ac (diff)
Merge pull request #232 from MasterKale/linting-catch-up
Run `npm run lint`
Diffstat (limited to 'packages/browser/src/methods/startAuthentication.test.ts')
-rw-r--r--packages/browser/src/methods/startAuthentication.test.ts13
1 files changed, 7 insertions, 6 deletions
diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts
index e6ac9c7..31ace90 100644
--- a/packages/browser/src/methods/startAuthentication.test.ts
+++ b/packages/browser/src/methods/startAuthentication.test.ts
@@ -214,15 +214,16 @@ test('should support "cable" transport', async () => {
allowCredentials: [
{
...goodOpts1.allowCredentials![0],
- transports: ["cable"],
+ transports: ['cable'],
},
- ]
+ ],
};
await startAuthentication(opts);
- expect(mockNavigatorGet.mock.calls[0][0].publicKey.allowCredentials[0].transports[0])
- .toEqual("cable");
+ expect(mockNavigatorGet.mock.calls[0][0].publicKey.allowCredentials[0].transports[0]).toEqual(
+ 'cable',
+ );
});
test('should cancel an existing call when executed again', async () => {
@@ -242,9 +243,9 @@ test('should set up autofill a.k.a. Conditional UI', async () => {
allowCredentials: [
{
...goodOpts1.allowCredentials![0],
- transports: ["cable"],
+ transports: ['cable'],
},
- ]
+ ],
};
document.body.innerHTML = `
<form>