diff options
author | kumavis <aaron@kumavis.me> | 2018-06-12 05:25:49 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-06-12 05:25:49 +0800 |
commit | ebb9447593a877cd299e701ddfcb217070068fac (patch) | |
tree | 74380d5656a8ff3d36aa47ae27d4c69b225f76ff /app/scripts | |
parent | 02f5502e16fefc8d92392e614861e3f672c4f909 (diff) | |
download | tangerine-wallet-browser-ebb9447593a877cd299e701ddfcb217070068fac.tar.gz tangerine-wallet-browser-ebb9447593a877cd299e701ddfcb217070068fac.tar.zst tangerine-wallet-browser-ebb9447593a877cd299e701ddfcb217070068fac.zip |
test - e2e - factor out setup phase + rename METAMASK_CONFIG to METAMASK_TEST_CONFIG
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/background.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 41fd89016..9866ff0b0 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -31,7 +31,8 @@ const { ENVIRONMENT_TYPE_FULLSCREEN, } = require('./lib/enums') -const firstTimeState = Object.assign({}, rawFirstTimeState, global.METAMASK_CONFIG) +// METAMASK_TEST_CONFIG is used in e2e tests to set the default network to localhost +const firstTimeState = Object.assign({}, rawFirstTimeState, global.METAMASK_TEST_CONFIG) const STORAGE_KEY = 'metamask-config' const METAMASK_DEBUG = process.env.METAMASK_DEBUG |