diff --git a/app/scripts/lib/setupSentry.js b/app/scripts/lib/setupSentry.js index 94fd870d8c6c..f52258519d5e 100644 --- a/app/scripts/lib/setupSentry.js +++ b/app/scripts/lib/setupSentry.js @@ -16,7 +16,7 @@ function setupSentry (opts) { // detect brave const isBrave = Boolean(window.chrome.ipcRenderer) - if (METAMASK_DEBUG) { + if (METAMASK_DEBUG || process.env.IN_TEST) { console.log('Setting up Sentry Remote Error Reporting: SENTRY_DSN_DEV') sentryTarget = SENTRY_DSN_DEV } else {