Skip to content
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

Fix unmocked block tracker warning in GasFeeController tests #5297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcmire
Copy link
Contributor

@mcmire mcmire commented Feb 6, 2025

Explanation

When running the tests for GasFeeController, we were seeing many warnings in the test output indicating that a request from the block tracker was not properly mocked. This commit adds that mock so the warning goes away.

References

Changelog

(N/A, developer-only change)

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
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

When running the tests for GasFeeController, we were seeing a warning in
the tests that a request from the block tracker was not properly mocked.
This commit adds that mock so the warning goes away.
@mcmire mcmire force-pushed the fix-block-tracker-warning-in-gfc-tests branch from 3cc1a6f to 1d385da Compare February 6, 2025 18:21
@mcmire mcmire marked this pull request as ready for review February 6, 2025 18:27
@mcmire mcmire requested a review from a team as a code owner February 6, 2025 18:27
@mcmire
Copy link
Contributor Author

mcmire commented Feb 6, 2025

@MetaMask/confirmations Can I get a review on this PR when you get a chance, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant