Update electron to 16.0.4
This commit is contained in:
parent
ba043c422b
commit
bbc13d058e
28 changed files with 491 additions and 2985 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue