import herumi from "../../src/herumi"; import {runSecretKeyTests} from "../unit/secretKey.test"; import {runPublicKeyTests} from "../unit/publicKey.test"; import {runIndexTests} from "../unit/index.test"; // This file is intended to be compiled and run by Karma // Do not import the node.bindings or it will break with: // Error: BLST bindings loader should only run in a NodeJS context: process.platform describe("herumi", () => { before(async () => { // For consistency with describeForAllImplementations // eslint-disable-next-line import/no-named-as-default-member await herumi.init(); }); runSecretKeyTests(herumi); runPublicKeyTests(herumi); runIndexTests(herumi); });