Skip to content

Commit 0230491

Browse files
test(injected): add unit coverage for autofillPasskeys feature
Add Jasmine tests for the Windows passkey interception flow merged in #2571, covering request registration, native message correlation, abort handling, supersede behavior, and credentials.get pass-through guards. Fix ESM import paths in autofill-passkeys.js so the feature can be loaded by the unit test runner (no behavior change). Co-authored-by: Jonathan Kingston <jonathanKingston@users.noreply.github.com>
1 parent 7a9074e commit 0230491

2 files changed

Lines changed: 477 additions & 2 deletions

File tree

injected/src/features/autofill-passkeys.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ContentFeature from '../content-feature';
1+
import ContentFeature from '../content-feature.js';
22
/* eslint-disable no-redeclare */
33
import {
44
Uint8Array,
@@ -7,7 +7,7 @@ import {
77
DOMException as CapturedDOMException,
88
charCodeAt,
99
randomUUID,
10-
} from '../captured-globals';
10+
} from '../captured-globals.js';
1111
/* eslint-enable no-redeclare */
1212

1313
const MSG_INBOUND_PASSKEY_SELECTED = 'passkeySelected';

0 commit comments

Comments
 (0)