We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cffd7c commit b28c4e1Copy full SHA for b28c4e1
test/unittests.js
@@ -316,19 +316,19 @@ describe('limits test', function() {
316
317
it('should throw with too big N', function() {
318
assert.throws(function() {
319
- scrypt(v.password, v.salt, { N: ((-1)>>>0) + 1, r: v.r, dkLen: v.dkLen });
+ scrypt(v.password, v.salt, { N: ((-1)>>>0) + 1, r: v.r, dkLen: v.dkLen }, function() {});
320
}, Error);
321
});
322
323
it('should throw with too small N', function() {
324
325
- scrypt(v.password, v.salt, { N: 1, r: v.r, dkLen: v.dkLen });
+ scrypt(v.password, v.salt, { N: 1, r: v.r, dkLen: v.dkLen }, function() {});
326
327
328
329
it('should throw when N is not power of two', function() {
330
331
- scrypt(v.password, v.salt, { N: 123, r: v.r, dkLen: v.dkLen });
+ scrypt(v.password, v.salt, { N: 123, r: v.r, dkLen: v.dkLen }, function() {});
332
333
334
0 commit comments