Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: util unit tests #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

test: util unit tests #4

wants to merge 6 commits into from

Conversation

bguiz
Copy link
Member

@bguiz bguiz commented Aug 22, 2024

  • add tape + tap for unit tests
  • add nyc + tap-nyc for code coverage
  • wrote a small subset of tests for util/util.js (current coverage is < 20%)

bguiz added 6 commits August 20, 2024 16:49
Signed-off-by: Brendan Graetz <[email protected]>
…ntByEvmAddress, queryAccountByPrivateKey, isHexPrivateKey, calculateTransactionFeeFromViem

Signed-off-by: Brendan Graetz <[email protected]>
…ocking

- this also allows for additional assertions on the mocked function's invocations

Signed-off-by: Brendan Graetz <[email protected]>
Signed-off-by: Brendan Graetz <[email protected]>
@bguiz bguiz force-pushed the main branch 3 times, most recently from cdacc7f to d2379a7 Compare December 4, 2024 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant