core icon indicating copy to clipboard operation
core copied to clipboard

fix: add test ensuring clearPendingConfirmations does not get called

Open BelfordZ opened this issue 2 years ago • 0 comments

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

BelfordZ avatar Apr 16 '24 22:04 BelfordZ