diff --git a/tests/configs/modules/display.js b/tests/configs/modules/display.js index 1ea3ec97..24556659 100644 --- a/tests/configs/modules/display.js +++ b/tests/configs/modules/display.js @@ -4,17 +4,6 @@ * MIT Licensed. */ let config = { - electronOptions: { - fullscreen: false, - width: 800, - height: 600, - webPreferences: { - nodeIntegration: true, - enableRemoteModule: true, - contextIsolation: false - } - }, - modules: [ { module: "helloworld", @@ -35,6 +24,9 @@ let config = { }; config = Object.assign(require("../default.js"), config); +config.electronOptions.fullscreen = false; +config.electronOptions.width = 800; +config.electronOptions.height = 600; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") { diff --git a/tests/configs/without_modules.js b/tests/configs/without_modules.js index 78d56717..6e199b00 100644 --- a/tests/configs/without_modules.js +++ b/tests/configs/without_modules.js @@ -3,7 +3,11 @@ * By Rodrigo Ramírez Norambuena https://rodrigoramirez.com * MIT Licensed. */ -let config = require("./default.js"); +let config = { + ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"] +}; + +config = Object.assign(require("./default.js"), config); delete config.modules; /*************** DO NOT EDIT THE LINE BELOW ***************/