diff options
author | Matthew Miller <matthew@millerti.me> | 2023-02-28 21:57:34 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2023-02-28 21:57:34 -0800 |
commit | 1ad23a7d0a1aa5cd766fa2b604d7954d0bed4899 (patch) | |
tree | b714f0f1c4b3040d39ac2211040ee1aa081a0c7d | |
parent | 1ed297380ece72d4f569d26b358ac8d8bc29d438 (diff) |
Fix test
-rw-r--r-- | packages/browser/src/helpers/webAuthnAbortService.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/helpers/webAuthnAbortService.test.ts b/packages/browser/src/helpers/webAuthnAbortService.test.ts index 294a894..b3ec518 100644 --- a/packages/browser/src/helpers/webAuthnAbortService.test.ts +++ b/packages/browser/src/helpers/webAuthnAbortService.test.ts @@ -14,7 +14,7 @@ test('should call abort() on existing controller when creating a new signal', () // Spy on the existing instance of AbortController const abortSpy = jest.fn(); // @ts-ignore - webauthnAbortService.controller?.abort = abortSpy; + webauthnAbortService.controller.abort = abortSpy; // Generate a new signal, which should call `abort()` on the existing controller webauthnAbortService.createNewAbortSignal(); |