Skip to content

Commit

Permalink
test: adjust tests to new encoding of observe option
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed May 17, 2022
1 parent b530d41 commit cf95bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ describe('request', function () {
server.on('message', (msg, rsinfo) => {
const packet = parse(msg)
expect(packet.options[0].name).to.eql('Observe')
expect(packet.options[0].value).to.eql(Buffer.of(0))
expect(packet.options[0].value).to.eql(Buffer.alloc(0))
done()
})
})
Expand Down

0 comments on commit cf95bde

Please sign in to comment.