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 7226357422
Fix isMainnet propType error (#12951)
A propType error was showing up during e2e tests with a `testDev`
build. It was caused by `process.env.IN_TEST` being treated as a
boolean, when in fact it is either the string `'true'` or a boolean.

`IN_TEST` has been updated to always be a boolean. `loose-envify` has
no trouble injecting boolean values, so there's no reason to treat this
as a string.
2021-12-02 14:46:46 -03:30
..
middleware
createInfuraClient.js
createJsonRpcClient.js Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
createMetamaskMiddleware.js
index.js
network-controller.test.js
network.js Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
pending-middleware.test.js
util.js
util.test.js