From 5b2efc43b9dc96dab33aff85c91220367d01dcdc Mon Sep 17 00:00:00 2001 From: Felix Wiedenbach Date: Fri, 13 Sep 2019 13:54:17 +0200 Subject: [PATCH] default weather forecast test config --- .../weather/forecastweather_default.js | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 tests/configs/modules/weather/forecastweather_default.js diff --git a/tests/configs/modules/weather/forecastweather_default.js b/tests/configs/modules/weather/forecastweather_default.js new file mode 100644 index 00000000..697cbeb4 --- /dev/null +++ b/tests/configs/modules/weather/forecastweather_default.js @@ -0,0 +1,37 @@ +/* Magic Mirror Test config default weather + * + * By fewieden https://github.com/fewieden + * + * 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, + }, + }, + + modules: [ + { + module: "weather", + position: "bottom_bar", + config: { + type: "forecast", + location: "Munich", + apiKey: "fake key", + weatherEndpoint: "/forecast/daily", + initialLoadDelay: 3000 + } + } + ] +}; + +/*************** DO NOT EDIT THE LINE BELOW ***************/ +if (typeof module !== "undefined") {module.exports = config;}