Skip to content

Commit

Permalink
Adds link to notes about error
Browse files Browse the repository at this point in the history
  • Loading branch information
brettritter-okta committed Feb 22, 2019
1 parent fb21fe9 commit 610e825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ describe('base64 URL Encoding',function(){
});

it('does not create an uninitialized Buffer', function() {
// see https://nodejs.org/api/buffer.html#buffer_buffer_from_buffer_alloc_and_buffer_allocunsafe
var fromDigits = nJwt.base64urlEncode(10);
var fromString = nJwt.base64urlEncode('10');
assert.equal(fromDigits, fromString);
Expand Down

0 comments on commit 610e825

Please sign in to comment.