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

21
tests/configs/default.js Normal file
View File

@@ -0,0 +1,21 @@
let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: {
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true,
contextIsolation: false
}
},
modules: []
};
if (typeof module !== "undefined") {
module.exports = config;
}