Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
restoreMocks
Jest setting (MetaMask#794)
The `restoreMocks` Jest setting has been enabled, which will automatically restore any mocks created using Jest after each test. See here for more information: https://jestjs.io/docs/configuration#restoremocks-boolean Note that this will not affect standalone Jest mocks. It only affects mocks that replace a method/field on a pre-existing object. A manual mock restoration was removed from the CurrencyRateController tests, as the mock should now be restored automatically instead.