-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
The way we are using the helper functions in the new mocked test will not catch bugs introduced in helper functions like prepareTransaction.
essential-eth/src/providers/test/json-rpc-provider/call.test.ts
Lines 81 to 86 in 69cec04
| expect(spy).toHaveBeenCalledWith( | |
| rpcUrl, | |
| buildFetchInit( | |
| buildRPCPostBody('eth_call', [prepareTransaction(data), 'latest']), | |
| ), | |
| ); |
We need to make a test for testing the helpers like:
prepareTransactionbuildRPCPostBodytoChecksumAddresscleanLogLmk what other helpers need to be tested @dawsbot
Metadata
Metadata
Assignees
Labels
No labels