1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers/network/provider-api-tests
Mark Stacey 048b7e4cb6
Fix shared mocks in RPC network client test (#16856)
* Fix shared mocks in RPC network client test

Some of the provider api unit tests were inadvertently sharing test
mocks. A `params` object used for mock RPC calls was being shared
between tests and between calls within individual tests. They have been
updated to generate a fresh `params` object for each mock RPC call.

* Explicitly set blockParam to undefined
2022-12-12 13:49:22 -03:30
..
helpers.js Fix shared mocks in RPC network client test (#16856) 2022-12-12 13:49:22 -03:30
shared-tests.js Fix shared mocks in RPC network client test (#16856) 2022-12-12 13:49:22 -03:30