1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/shared/modules
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
..
tests Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
fetch-with-timeout.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
fetch-with-timeout.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
network.utils.js Add custom network RPC method (#9724) 2021-02-12 09:25:58 -06:00
random-id.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
rpc.utils.js Add custom network RPC method (#9724) 2021-02-12 09:25:58 -06:00
swaps.utils.js Swaps support for local testnet (#10658) 2021-03-18 07:50:06 -02:30
transaction.utils.js prefer chainId when building block explorer urls (#10587) 2021-03-09 15:37:19 -06:00