From bd9851483284043996df96a6a5ddd846cc0fea0d Mon Sep 17 00:00:00 2001 From: Zhen Yu Yong Date: Tue, 28 Jul 2020 19:42:50 +0800 Subject: [PATCH] removed duplicate test --- test.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test.js b/test.js index 0da9882..4da5607 100644 --- a/test.js +++ b/test.js @@ -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);