diff --git a/test/builder.js b/test/builder.js index 45310d8..424109a 100644 --- a/test/builder.js +++ b/test/builder.js @@ -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);