move weather-test to e2e

This commit is contained in:
Karsten Hassel
2021-10-16 00:05:12 +02:00
parent e9650285bd
commit 0ec80a7791
17 changed files with 299 additions and 390 deletions

View File

@@ -3,7 +3,7 @@
* By fewieden https://github.com/fewieden
* MIT Licensed.
*/
let config = require(process.cwd() + "/tests/configs/default.js").configFactory({
let config = {
timeFormat: 12,
modules: [
@@ -13,13 +13,12 @@ let config = require(process.cwd() + "/tests/configs/default.js").configFactory(
config: {
type: "forecast",
location: "Munich",
apiKey: "fake key",
weatherEndpoint: "/forecast/daily",
initialLoadDelay: 3000
mockData: '"#####WEATHERDATA#####"',
weatherEndpoint: "/forecast/daily"
}
}
]
});
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {