1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
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
..
account-import-strategies Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
constants
controllers Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
lib Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
migrations Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
platforms
background.js
contentscript.js @metamask/post-message-stream@4.0.0 (#10989) 2021-05-05 16:07:48 -07:00
disable-console.js
first-time-state.js
initSentry.js
inpage.js @metamask/post-message-stream@4.0.0 (#10989) 2021-05-05 16:07:48 -07:00
metamask-controller.js Remove SET_CURRENT_FIAT action (#11003) 2021-05-07 11:32:22 -02:30
metamask-controller.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
phishing-detect.js
runLockdown.js
ui.js