dawsbot / dawsbot/essential-eth

🧪 Test helper functions

Open
#228 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.