dawsbot / dawsbot/essential-eth
🧪 Test helper functions
Open
- Dominant language
- TypeScript
- Stars
- 310
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
The way we are using the helper functions in the new mocked test will not catch bugs introduced in helper functions like `prepareTransaction`.
https://github.com/dawsbot/essential-eth/blob/69cec045b27ad20af86eb985ad68e90d90594288/src/providers/test/json-rpc-provider/call.test.ts#L81-L86
We need to make a test for testing the helpers like:
`prepareTransaction`
`buildRPCPostBody`
`toChecksumAddress`
`cleanLog`
Lmk what other helpers need to be tested @dawsbot
Contributor guide
Assessment
This issue has not been assessed yet.