1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/app
Mark Stacey 1e93340c16
Fix unit tests using shared test doubles (#8235)
These tests broke when `sinon.restore()` was called in a separate test
because they setup stubs/spies using `sinon` in the module context.
These were constructed then restored before the tests even ran.

Instead the test doubles are now setup in the `beforeEach` hook, which
in addition to fixing this problem also ensures each unit test is
isolated from the others.
2020-03-25 14:45:23 -03:00
..
components Fix unit tests using shared test doubles (#8235) 2020-03-25 14:45:23 -03:00
contexts Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
css Add border none for moz-focus-inner (#8217) 2020-03-19 12:44:20 -04:00
ducks Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
helpers Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
pages Add Idle Timeout for Sync with mobile (#8201) 2020-03-24 01:00:59 -04:00
selectors Fix selectors that use metamask.send.from state (#8182) 2020-03-11 15:40:35 -03:00
store Use specified gas limit when speeding up a transaction (#8178) 2020-03-12 11:33:11 -03:00