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,16 +13,15 @@ let config = require(process.cwd() + "/tests/configs/default.js").configFactory(
config: {
type: "forecast",
location: "Munich",
apiKey: "fake key",
mockData: '"#####WEATHERDATA#####"',
weatherEndpoint: "/forecast/daily",
initialLoadDelay: 3000,
showPrecipitationAmount: true,
colored: true,
tableClass: "myTableClass"
}
}
]
});
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {