diff options
author | Matthew Miller <matthew@millerti.me> | 2022-07-28 10:06:02 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-07-28 10:06:02 -0700 |
commit | af8d952eeed08f01a9d938da126152c649caa297 (patch) | |
tree | 0d528cd1382f7066114570ed82ea6f4216b21642 /packages/browser/src/methods/startAuthentication.test.ts | |
parent | 522f00d9ae613ff1f51f0c1aca85a6ae129381c5 (diff) |
Run `npm run lint`
Diffstat (limited to 'packages/browser/src/methods/startAuthentication.test.ts')
-rw-r--r-- | packages/browser/src/methods/startAuthentication.test.ts | 13 |
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> |