remove default values from test configs

This commit is contained in:
Karsten Hassel 2021-09-29 21:02:52 +02:00 committed by karsten13
parent c67320f185
commit 997aec8cc2
25 changed files with 1 additions and 112 deletions

View File

@ -6,12 +6,6 @@
exports.configFactory = function (options) { exports.configFactory = function (options) {
return Object.assign( return Object.assign(
{ {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
electronOptions: { electronOptions: {
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "alert", module: "alert",

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "clock", module: "clock",

View File

@ -3,12 +3,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "clock", module: "clock",

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,8 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "es", language: "es",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "es", language: "es",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,8 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "es", language: "es",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -5,11 +5,8 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "es", language: "es",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "helloworld", module: "helloworld",

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "helloworld", module: "helloworld",

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: [ modules: [
{ {
module: "helloworld", module: "helloworld",

View File

@ -4,11 +4,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -3,11 +3,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -3,11 +3,7 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 12, timeFormat: 12,
units: "metric",
modules: [ modules: [
{ {

View File

@ -4,12 +4,6 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
language: "en",
timeFormat: 24,
units: "metric",
modules: modules:
// Using exotic content. This is why don't accept go to JSON configuration file // Using exotic content. This is why don't accept go to JSON configuration file
(function () { (function () {

View File

@ -4,10 +4,8 @@
* MIT Licensed. * MIT Licensed.
*/ */
let config = { let config = {
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"], ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.10.1"],
language: "en",
timeFormat: 24,
units: "metric" units: "metric"
}; };