Skip to content

Commit 9e26695

Browse files
author
Leonardo Zanivan
committed
Fix tests
1 parent b4120ed commit 9e26695

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: test/xmlenc.encryptedkey.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('encrypt', function() {
106106
assert(err);
107107
assert(!result);
108108
//should not pop up warns due to options.warnInsecureAlgorithm = false;
109-
consoleSpy.called.should.equal(false);
109+
assert.equal(consoleSpy.called, false);
110110
done();
111111
});
112112
});
@@ -236,7 +236,7 @@ describe('encrypt', function() {
236236

237237
xmlenc.encryptKeyInfo(plaintext, options, function(err, encryptedKeyInfo) {
238238
if (err) return done(err);
239-
consoleSpy.called.should.equal(true);
239+
assert.equal(consoleSpy.called, true);
240240
assert.throws(
241241
function(){xmlenc.decryptKeyInfo(
242242
encryptedKeyInfo,

0 commit comments

Comments
 (0)