Skip to content

Commit 1c6cbbc

Browse files
author
veeck
committed
add test for just an evening config in the morning
1 parent 4ef9ace commit 1c6cbbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/electron/modules/compliments_spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ describe("Compliments module", () => {
3434
await helpers.startApplication("tests/configs/modules/compliments/compliments_parts_day.js", "01 Oct 2022 20:00:00 GMT");
3535
await expect(doTest(["Hello There", "Good Evening", "Evening test"])).resolves.toBe(true);
3636
});
37+
38+
it("doesnt show evening compliments during the day when the other parts of day are not set", async () => {
39+
await helpers.startApplication("tests/configs/modules/compliments/compliments_evening.js", "01 Oct 2022 10:00:00 GMT");
40+
});
3741
});
3842

3943
describe("Feature date in compliments module", () => {

0 commit comments

Comments
 (0)