-
Notifications
You must be signed in to change notification settings - Fork 559
[SDK] Improve general test cases #5054
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
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. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5054 +/- ##
==========================================
+ Coverage 45.29% 45.30% +0.01%
==========================================
Files 1059 1059
Lines 54754 54754
Branches 3959 3958 -1
==========================================
+ Hits 24803 24809 +6
+ Misses 29260 29254 -6
Partials 691 691
*This pull request uses carry forward flags. Click here to find out more. |
cc572ca
to
a1586a5
Compare
Merge activity
|
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces new tests for resolving Unstoppable Domains and updates the `mintToBatch` test for `ERC1155` contracts, including the handling of NFT retrieval and ensuring proper error handling. ### Detailed summary - Added a test case in `resolveName.test.ts` to check error handling for addresses without a domain. - Updated the `mintToBatch.test.ts` to use `describe.runIf` for conditional execution. - Refactored the `mintToBatch` test to include NFT retrieval and validation after minting. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
a1586a5
to
1628fa2
Compare
Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR adds a new test case to the
resolveName
functionality, ensuring that an error is thrown when trying to resolve a name for an address that does not own any Unstoppable Domains (UD).Detailed summary
TEST_ACCOUNT_D
from~test/test-wallets.js
.resolveName
.