From 0e69b819e0bd3c7e27944f6eed299d95468aef20 Mon Sep 17 00:00:00 2001 From: dapplion Date: Wed, 25 Nov 2020 16:11:44 +0000 Subject: [PATCH] Remove keypair test --- test/unit/keypair.test.ts | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 test/unit/keypair.test.ts diff --git a/test/unit/keypair.test.ts b/test/unit/keypair.test.ts deleted file mode 100644 index 82b2deb..0000000 --- a/test/unit/keypair.test.ts +++ /dev/null @@ -1,27 +0,0 @@ -// import {expect} from "chai"; -// import {IBls} from "../../src/interface"; - -// export function runKeypairTests(bls: IBls) { -// describe("Keypair", () => { -// it("should create from private and public key", () => { -// const sk = bls.PrivateKey.fromKeygen(); -// const sk2 = bls.PrivateKey.fromKeygen(); -// const pk = sk.toPublicKey(); - -// const keypair = new bls.Keypair(sk, pk); - -// expect(keypair.publicKey).to.be.equal(pk); -// expect(keypair.privateKey).to.be.equal(sk); -// expect(keypair.privateKey).to.not.be.equal(sk2); -// }); - -// it("should create from PrivateKey", () => { -// const sk = bls.PrivateKey.fromKeygen(); -// const pk = sk.toPublicKey(); - -// const keypair = new bls.Keypair(sk as any); - -// expect(keypair.publicKey.toHex()).to.equal(pk.toHex()); -// }); -// }); -// }