1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Always use null Infura project ID in testing (#9393)

This commit is contained in:
Whymarrh Whitby 2020-09-10 15:52:50 -02:30 committed by GitHub
parent 359cdf744e
commit 1757c63473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,10 +328,10 @@ function createScriptTasks ({ browserPlatforms, livereload }) {
ETH_GAS_STATION_API_KEY: process.env.ETH_GAS_STATION_API_KEY || '',
CONF: opts.devMode ? conf : ({}),
SENTRY_DSN: process.env.SENTRY_DSN,
INFURA_PROJECT_ID: conf.INFURA_PROJECT_ID || (
INFURA_PROJECT_ID: (
opts.testing
? '00000000000000000000000000000000'
: undefined
: conf.INFURA_PROJECT_ID
),
}), {
global: true,