1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers/network
Mark Stacey f47cfbbb3e
Use strict assertion mode everywhere (#11012)
The `assert` module has two modes: "Legacy" and "strict". When using
strict mode, the "strict" version of each assertion method is implied.
Whereas in legacy mode, by default it will use the deprecated, "loose"
version of each assertion.

We now use strict mode everywhere. A few tests required updates where
they were asserting the wrong thing, and it was passing beforehand due
to the loose matching.
2021-05-07 17:08:24 -02:30
..
middleware @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createInfuraClient.js eth-block-tracker@5.0.1 (#10737) 2021-03-26 10:03:44 -07:00
createJsonRpcClient.js eth-block-tracker@5.0.1 (#10737) 2021-03-26 10:03:44 -07:00
createMetamaskMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.js cancel unapproved confirmations on network change (#10357) 2021-02-08 17:22:30 -06:00
network-controller.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
network.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
pending-middleware.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
util.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00