mirror of
https://github.com/AtHeartEngineering/lodestar.git
synced 2026-01-10 00:58:19 -05:00
* Bump typescript to 4.4.0 * Type catch e clause * Bump observable-fns * Type lodestar error * Skip readme checks
11 lines
240 B
TypeScript
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));
|
|
},
|
|
};
|