Files
lodestar/packages/validator/test/setup.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

10 lines
297 B
TypeScript

import {init} from "@chainsafe/bls";
// blst-native initialization is syncronous
// Initialize bls here instead of in before() so it's available inside describe() blocks
init("blst-native").catch((e: Error) => {
// eslint-disable-next-line no-console
console.error(e);
process.exit(1);
});