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

This commit is contained in:
Jeremy Apthorp 2019-07-16 13:43:00 -07:00 committed by GitHub
parent 355b307618
commit b5f69e0b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')