Skip to content

Commit

Permalink
Also check self-set id
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jul 29, 2024
1 parent e7a13bd commit e8da2ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,12 @@ test('id unslabbed when receiving', async function (t) {
32,
'unslabbed id when received from remote'
)

t.is(
[...a._infos.values()][0].id.buffer.byteLength,
32,
'unslabbed id when set by yourself'
)
})

function replicate (a, b) {
Expand Down

0 comments on commit e8da2ca

Please sign in to comment.