refactor test config

This commit is contained in:
Karsten Hassel
2021-07-05 00:33:50 +02:00
parent 8b484ee707
commit a7ae79493d
44 changed files with 105 additions and 534 deletions

View File

@@ -3,21 +3,8 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
}
};
let config = require('./default.js');
delete config.modules;
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {