fixed test
This commit is contained in:
parent
83e7e4582c
commit
5740ba895a
2
test.js
2
test.js
|
@ -229,7 +229,7 @@ describe("ECIES", function() {
|
||||||
return eccrypto.encrypt(publicKeyA, Buffer.from("message size that is greater than 15 for sure =)")).then(function(enc) {
|
return eccrypto.encrypt(publicKeyA, Buffer.from("message size that is greater than 15 for sure =)")).then(function(enc) {
|
||||||
return eccrypto.decrypt(privateKeyA, enc);
|
return eccrypto.decrypt(privateKeyA, enc);
|
||||||
}).then(function(msg) {
|
}).then(function(msg) {
|
||||||
expect(msg.toString()).to.equal("to a");
|
expect(msg.toString()).to.equal("message size that is greater than 15 for sure =)");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user