Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate console error when running test (#1179)
* Eliminate console error when running test The network client test "queues requests while a previous identical call is still pending..." was emitting a console error due to an unmocked block tracker network call. That call is now mocked, eliminating the error. I am unsure why the second call is made during this test, but we suspect that it's because the first block tracker call isn't being cached until after the RPC call that triggered it has been resolved. To reproduce, use `.only` on that test and run this command: `yarn workspace @metamask/network-controller jest --coverage=false --verbose=false` Before this change, that command should produce console errors. After this change, there will be none (though there are still lots of warnings). This relates to #1178 * Eliminate error in second test
- Loading branch information