Test tools for @axiomesh
Install the dependencies
npm install
Run the tests ✔️
npm run smoke-test
PASS src/tests/block.test.ts
✓ eth_getBlockByHash (36 ms)
✓ eth_getBlockByNumber (7 ms)
...
eth_getBlockByHash
eth_getBlockByNumber
// src/utils/rpc.ts
...
export const url = "http://127.0.0.1:8881"
export const client = new Web3(url)
...
just want to run single testcase, you can install Jest plugin to help you.