1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-14 13:47:13 +01:00
metamask-extension/app/scripts/controllers/network
Mark Stacey 3ba3b330f6 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-06-07 10:02:39 -02:30
..
middleware @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createInfuraClient.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
createJsonRpcClient.js Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -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 Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
network.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
pending-middleware.test.js Use strict assertion mode everywhere (#11012) 2021-06-07 10:02:39 -02:30
util.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00