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

@@ -4,19 +4,7 @@
* MIT Licensed.
*/
let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
},
modules: [
{
@@ -36,6 +24,8 @@ let config = {
]
};
config = Object.assign(require("../../default.js"), config);
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;