Files
lodestar/packages/spec-test-runner/test/mocha-hooks.ts
Lion - dapplion d7a4379d93 Type error in catch clause (with TS feature) (#3072)
* Bump typescript to 4.4.0

* Type catch e clause

* Bump observable-fns

* Type lodestar error

* Skip readme checks
2021-09-09 14:44:57 -05:00

11 lines
240 B
TypeScript

import {init} from "@chainsafe/bls";
import {RootHookObject} from "mocha";
export const mochaHooks: RootHookObject = {
beforeAll: (done) => {
init("blst-native")
.then(() => done())
.catch((e: Error) => done(e));
},
};