-
Notifications
You must be signed in to change notification settings - Fork 619
[SDK] Test: Fix getWalletBalance tests
#5281
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
Conversation
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5281 +/- ##
=======================================
Coverage 45.37% 45.37%
=======================================
Files 1067 1067
Lines 55451 55451
Branches 3992 3990 -2
=======================================
Hits 25161 25161
Misses 29599 29599
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
kien-ngo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
joaquim-verges
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gregfromstl actually changed this test to check native balance instead, since we already have a erc20 test above
PR-Codex overview
This PR modifies the tests in the
getWalletBalance.test.tsfile to change the assertion forresult.value. It now checks thatresult.valueis defined instead of ensuring it is greater than zero.Detailed summary
expect(result.value).toBeGreaterThan(0n);toexpect(result.value).toBeDefined();