mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[EC-598] fix: wrong flags in tests
This commit is contained in:
@@ -459,7 +459,7 @@ describe("FidoAuthenticatorService", () => {
|
|||||||
0xd0, 0x5c, 0x3d, 0xc3,
|
0xd0, 0x5c, 0x3d, 0xc3,
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
expect(flags).toEqual(new Uint8Array([0b00000001])); // UP = true
|
expect(flags).toEqual(new Uint8Array([0b01000001])); // UP = true, AD = true
|
||||||
expect(counter).toEqual(new Uint8Array([0, 0, 0, 0])); // 0 because of new counter
|
expect(counter).toEqual(new Uint8Array([0, 0, 0, 0])); // 0 because of new counter
|
||||||
expect(aaguid).toEqual(AAGUID);
|
expect(aaguid).toEqual(AAGUID);
|
||||||
expect(credentialIdLength).toEqual(new Uint8Array([0, 16])); // 16 bytes because we're using GUIDs
|
expect(credentialIdLength).toEqual(new Uint8Array([0, 16])); // 16 bytes because we're using GUIDs
|
||||||
|
|||||||
Reference in New Issue
Block a user