Skip to content

Commit

Permalink
[js] remove virtual authenticator credential test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 23, 2023
1 parent 3999f31 commit 44ac51f
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,21 +358,9 @@ suite(function (env) {

assert.equal(credential1.isResidentCredential(), true)
assert.notEqual(credential1.privateKey(), null)
assert.equal(credential1.rpId(), 'localhost')
assert.deepStrictEqual(
credential1.userHandle().sort(),
new Uint8Array([1]).sort()
)
assert.equal(credential1.signCount(), 1)

assert.equal(credential2.isResidentCredential(), false)
assert.notEqual(credential2.privateKey(), null)
/**
* Non-resident keys do not store raw RP IDs or user handles.
*/
assert.equal(credential2.rpId(), null)
assert.equal(credential2.userHandle(), null)
assert.equal(credential2.signCount(), 1)
}
)

Expand Down

0 comments on commit 44ac51f

Please sign in to comment.