core
core copied to clipboard
fix: add test ensuring clearPendingConfirmations does not get called
Explanation
We should test that we dont accidently clearPendingConfirmations when removing a network selection.
References
https://github.com/MetaMask/core/pull/4165#discussion_r1567578992
Changelog
@metamask/queued-request-controller
- ADDED: a test to ensure that clearPendingConfirmations is only called when its meant to be.
Checklist
- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate