diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-12-16 04:58:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-16 04:58:10 +0800 |
commit | 6861a218e7be86efe44496d99c07adf599f504f4 (patch) | |
tree | b2714a6958a1e3d098071c6b76639c0a2245848f | |
parent | 115c5e3a43103476682735bc3c840b9d429165ed (diff) | |
parent | fb8744771a78eabe98b5be7fb32af19666b107bd (diff) | |
download | tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar.gz tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar.bz2 tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar.lz tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar.xz tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.tar.zst tangerine-wallet-browser-6861a218e7be86efe44496d99c07adf599f504f4.zip |
Merge pull request #2755 from MetaMask/tests
Change `console.log` to `log.info` for configureInfuraProvider
-rw-r--r-- | app/scripts/controllers/network.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js index 65d58008a..377ba6eca 100644 --- a/app/scripts/controllers/network.js +++ b/app/scripts/controllers/network.js @@ -132,7 +132,7 @@ module.exports = class NetworkController extends EventEmitter { } _configureInfuraProvider (opts) { - console.log('_configureInfuraProvider', opts) + log.info('_configureInfuraProvider', opts) const blockTrackerProvider = createInfuraProvider({ network: opts.type, }) diff --git a/package.json b/package.json index fce548066..7184e3ea8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dist": "npm run dist:clear && npm install && gulp dist", "dist:clear": "rm -rf node_modules/eth-contract-metadata && rm -rf node_modules/eth-phishing-detect", "test": "npm run lint && npm run test:coverage && npm run test:integration", - "test:unit": "METAMASK_ENV=test mocha --compilers js:babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"", + "test:unit": "METAMASK_ENV=test mocha --exit --compilers js:babel-core/register --require test/helper.js --recursive \"test/unit/**/*.js\"", "test:single": "METAMASK_ENV=test mocha --require test/helper.js", "test:integration": "npm run test:flat && npm run test:mascara", "test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload", |