From b5f69e0b9fa0e611456b16f7a638bdba977606c1 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 16 Jul 2019 13:43:00 -0700 Subject: [PATCH] test: disable security warnings in main runner (#19283) --- spec-main/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/spec-main/index.js b/spec-main/index.js index 22c70a9023d3..1ad1442bbe36 100644 --- a/spec-main/index.js +++ b/spec-main/index.js @@ -12,6 +12,7 @@ process.on('uncaughtException', (err) => { // Tell ts-node which tsconfig to use process.env.TS_NODE_PROJECT = path.resolve(__dirname, '../tsconfig.spec.json') +process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 'true' const { app, protocol } = require('electron')