Browse Source

test: disable security warnings in main runner (#19283)

Jeremy Apthorp 5 years ago
parent
commit
b5f69e0b9f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spec-main/index.js

+ 1 - 0
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')