summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/helpers/webAuthnAbortService.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-08-18 13:59:11 -0700
committerMatthew Miller <matthew@millerti.me>2023-08-18 13:59:11 -0700
commita59634a1a9b0393622fb121fbe229132c01a2624 (patch)
treecb4eb3fdf778dfc88d6d389b609b1cef6ebb4b4d /packages/browser/src/helpers/webAuthnAbortService.test.ts
parente0d32bd2a3a60b4b2fd96a2874eae3ad976483df (diff)
Use single-quotes and increase line width
Diffstat (limited to 'packages/browser/src/helpers/webAuthnAbortService.test.ts')
-rw-r--r--packages/browser/src/helpers/webAuthnAbortService.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/browser/src/helpers/webAuthnAbortService.test.ts b/packages/browser/src/helpers/webAuthnAbortService.test.ts
index e8d358e..506bb2a 100644
--- a/packages/browser/src/helpers/webAuthnAbortService.test.ts
+++ b/packages/browser/src/helpers/webAuthnAbortService.test.ts
@@ -1,13 +1,13 @@
-import { webauthnAbortService } from "./webAuthnAbortService";
+import { webauthnAbortService } from './webAuthnAbortService';
-test("should create a new abort signal every time", () => {
+test('should create a new abort signal every time', () => {
const signal1 = webauthnAbortService.createNewAbortSignal();
const signal2 = webauthnAbortService.createNewAbortSignal();
expect(signal2).not.toBe(signal1);
});
-test("should call abort() with AbortError on existing controller when creating a new signal", () => {
+test('should call abort() with AbortError on existing controller when creating a new signal', () => {
// Populate `.controller`
webauthnAbortService.createNewAbortSignal();
@@ -23,5 +23,5 @@ test("should call abort() with AbortError on existing controller when creating a
// Make sure we raise an AbortError so it can be detected correctly
const abortReason = abortSpy.mock.calls[0][0];
expect(abortReason).toBeInstanceOf(Error);
- expect(abortReason.name).toEqual("AbortError");
+ expect(abortReason.name).toEqual('AbortError');
});