diff options
author | Matthew Miller <matthew@millerti.me> | 2021-02-04 09:49:05 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2021-02-04 09:49:05 -0800 |
commit | 7aec8bf1b728f785ee13ffe50ba39d9e8787b3bd (patch) | |
tree | b09d40310e24e65e292c28ec4e638f21c585dd92 /packages/browser/src/methods/startAttestation.test.ts | |
parent | c58ca6abf0d64a85771a865cf59f9783a20c66f0 (diff) |
Revert change to Browser startAttestation test
Diffstat (limited to 'packages/browser/src/methods/startAttestation.test.ts')
-rw-r--r-- | packages/browser/src/methods/startAttestation.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/methods/startAttestation.test.ts b/packages/browser/src/methods/startAttestation.test.ts index d178609..0723213 100644 --- a/packages/browser/src/methods/startAttestation.test.ts +++ b/packages/browser/src/methods/startAttestation.test.ts @@ -69,7 +69,7 @@ test('should convert options before passing to navigator.credentials.create(...) // Make sure challenge and user.id are converted to Buffers expect(new Uint8Array(argsPublicKey.challenge)).toEqual(new Uint8Array([102, 105, 122, 122])); - expect(new Uint8Array(argsPublicKey.user.id)).toEqual(new Uint8Array([231, 174, 252])); + expect(new Uint8Array(argsPublicKey.user.id)).toEqual(new Uint8Array([53, 54, 55, 56])); // Confirm construction of excludeCredentials array expect(credId instanceof ArrayBuffer).toEqual(true); |