removed duplicate test

This commit is contained in:
Zhen Yu Yong 2020-07-28 19:42:50 +08:00 committed by Jordan Baczuk
parent 57111936e7
commit bd98514832

View File

@ -217,14 +217,6 @@ describe("ECIES", function() {
});
});
it("should encrypt and decrypt", function() {
return eccrypto.encrypt(publicKeyA, Buffer.from("to a")).then(function(enc) {
return eccrypto.decrypt(privateKeyA, enc);
}).then(function(msg) {
expect(msg.toString()).to.equal("to a");
});
});
it("should encrypt and decrypt with message size > 15", function() {
return eccrypto.encrypt(publicKeyA, Buffer.from("message size that is greater than 15 for sure =)")).then(function(enc) {
return eccrypto.decrypt(privateKeyA, enc);