This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
chainsafe-bls/test/unit/run-all-implementations.tes...

14 lines
478 B
TypeScript
Raw Normal View History

2020-11-20 19:03:17 +00:00
import {runPrivateKeyTests} from "./privateKey.test";
import {runPublicKeyTests} from "./publicKey.test";
// import {runKeypairTests} from "./keypair.test";
import {runIndexTests} from "./index.test";
import {forEachImplementation} from "../switch";
2020-11-20 19:08:53 +00:00
// Import test's bls lib lazily to prevent breaking test with Karma
2020-11-20 19:03:17 +00:00
forEachImplementation(["blst", "herumi"], (bls) => {
runPrivateKeyTests(bls);
runPublicKeyTests(bls);
// runKeypairTests(bls);
runIndexTests(bls);
});