mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
draft for default weather forecast test cases
This commit is contained in:
parent
5b2efc43b9
commit
fbceab707e
@ -171,4 +171,28 @@ describe("Weather module", function() {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("Weather Forecast", function() {
|
||||
let template;
|
||||
|
||||
before(function() {
|
||||
template = fs.readFileSync(path.join(__dirname, "..", "..", "..", "modules", "default", "weather", "forecast.njk"), "utf8");
|
||||
});
|
||||
|
||||
describe("Default configuration", function() {
|
||||
before(function() {
|
||||
process.env.MM_CONFIG_FILE = "tests/configs/modules/weather/forecastweather_default.js";
|
||||
});
|
||||
|
||||
it("should render days", function() {});
|
||||
|
||||
it("should render icon", function() {});
|
||||
|
||||
it("should render max temperature", function() {});
|
||||
|
||||
it("should render min temperature", function() {});
|
||||
|
||||
it("should render fading of rows", function() {});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user