Skip to content

test(discovery): verify clearLinkedAccounts isolation - #821

Merged
Just-Bamford merged 1 commit into
Sorokit:mainfrom
opascal221-design:fix/748-749-760-761-discovery-cleanup
Oct 17, 2026
Merged

Just-Bamford merged 1 commit into
Sorokit:mainfrom
opascal221-design:fix/748-749-760-761-discovery-cleanup

Conversation

@opascal221-design

Copy link
Copy Markdown
Contributor

Closes #748
Closes #749
Closes #760
Closes #761

Summary

  • Adds three tests inside a clearLinkedAccounts (#760) describe block in src/tests/wallet.test.ts
  • Verifies the function empties entries for all public keys, is safe to call on an empty registry, and that accounts linked after a clear are visible normally
  • The existing beforeEach already calls clearLinkedAccounts(), ensuring test isolation in any order

@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@opascal221-design Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Just-Bamford
Just-Bamford merged commit 035c20a into Sorokit:main Oct 17, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment