summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src/methods/startRegistration.test.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-09-28 23:48:54 -0700
committerMatthew Miller <matthew@millerti.me>2023-09-28 23:48:54 -0700
commitd2777819d7904945b817ca46447853d32803a219 (patch)
tree6c56ff8553012045b5b373218419f91e8034bf46 /packages/browser/src/methods/startRegistration.test.ts
parent1c70e39302d81eb6fe2ba23da07c60f2dc397498 (diff)
Rename webauthnAbortService
Diffstat (limited to 'packages/browser/src/methods/startRegistration.test.ts')
-rw-r--r--packages/browser/src/methods/startRegistration.test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/browser/src/methods/startRegistration.test.ts b/packages/browser/src/methods/startRegistration.test.ts
index 97878c6..66560b1 100644
--- a/packages/browser/src/methods/startRegistration.test.ts
+++ b/packages/browser/src/methods/startRegistration.test.ts
@@ -8,7 +8,7 @@ import { generateCustomError } from '../helpers/__jest__/generateCustomError';
import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn';
import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString';
import { WebAuthnError } from '../helpers/webAuthnError';
-import { webauthnAbortService } from '../helpers/webAuthnAbortService';
+import { WebauthnAbortService } from '../helpers/webAuthnAbortService';
import { utf8StringToBuffer } from '../helpers/utf8StringToBuffer';
@@ -61,8 +61,7 @@ beforeEach(() => {
mockSupportsWebauthn.mockReturnValue(true);
// Reset the abort service so we get an accurate call count
- // @ts-ignore: Ignore the fact that `controller` is private
- webauthnAbortService.controller = undefined;
+ WebauthnAbortService.cancelCeremony();
});
afterEach(() => {