1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 04:20:53 +01:00
metamask-extension/test
Erik Marks 049c863f83 @metamask/controllers@15.0.0 (#11975)
Adds the latest version of `@metamask/controllers`, and updates our usage of the `ApprovalController`, which has been migrated to `BaseControllerV2`. Of [the new `controllers` release](https://github.com/MetaMask/controllers/releases/tag/v15.0.0), only the `ApprovalController` migration should be breaking.

This is the first time we use events on the `ControllerMessenger` to update the badge, so I turned the messenger into a property on the main `MetaMaskController` in order to subscribe to events on it in `background.js`. I confirmed that the badge does indeed update during local QA.

As it turns out, [MetaMask/controllers#571](https://github.com/MetaMask/controllers/pull/571) was breaking for a single unit test case, which is now handled during setup and teardown for the related test suite (`metamask-controller.test.js`).
2021-09-17 09:35:13 -05:00
..
data Fix gas api overcalling (#12069) 2021-09-16 15:49:54 -05:00
e2e Fix gas api overcalling (#12069) 2021-09-16 15:49:54 -05:00
helpers Update @metamask/controllers to v6.2.1 (#10701) 2021-03-25 17:37:52 -02:30
jest Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-06 01:45:53 -02:30
lib remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mocks @metamask/controllers@15.0.0 (#11975) 2021-09-17 09:35:13 -05:00
stub Add gas constants (#11248) 2021-06-08 10:25:48 -05:00
unit-global Build - refactor for bundle factoring and swappable runtime (#11080) 2021-07-15 10:59:34 -07:00
env.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
setup.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00