Update electron to 16.0.4

This commit is contained in:
Fedor Indutny 2021-12-09 09:06:04 +01:00 committed by GitHub
parent ba043c422b
commit bbc13d058e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 491 additions and 2985 deletions

View file

@ -121,7 +121,7 @@ try {
window.open = () => null;
// Playwright uses `eval` for `.evaluate()` API
if (!config.enableCI) {
if (!config.enableCI && config.environment !== 'test') {
// eslint-disable-next-line no-eval, no-multi-assign
window.eval = global.eval = () => null;
}