Merge branch 'develop' into patch-1

This commit is contained in:
Christopher Fenner
2022-01-12 20:39:09 +01:00
committed by GitHub
20 changed files with 1157 additions and 1084 deletions

View File

@@ -210,6 +210,20 @@ describe("Weather module", function () {
});
});
describe("Absolute configuration", function () {
beforeAll(function (done) {
startApp("tests/configs/modules/weather/forecastweather_absolute.js", {}, done);
});
it("should render days", function () {
const days = ["Fri", "Sat", "Sun", "Mon", "Tue"];
for (const [index, day] of days.entries()) {
getText(`.weather table.small tr:nth-child(${index + 1}) td:nth-child(1)`, day);
}
});
});
describe("Configuration Options", function () {
beforeAll(function (done) {
startApp("tests/configs/modules/weather/forecastweather_options.js", {}, done);