From 1757c634731a2266a9cf48402b516d779fe2edf8 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Thu, 10 Sep 2020 15:52:50 -0230 Subject: [PATCH] Always use null Infura project ID in testing (#9393) --- development/build/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/build/scripts.js b/development/build/scripts.js index bdeb1e6ab..3db78f4fd 100644 --- a/development/build/scripts.js +++ b/development/build/scripts.js @@ -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,