fix calendar test exdate check (#3293)

fixes #3291
This commit is contained in:
Karsten Hassel
2023-12-17 07:19:15 +01:00
committed by GitHub
parent 319a921f75
commit a7af76b619
3 changed files with 16 additions and 12 deletions

View File

@@ -87,17 +87,6 @@ describe("Calendar module", () => {
});
});
describe("exdate check", () => {
beforeAll(async () => {
await helpers.startApplication("tests/configs/modules/calendar/exdate.js");
await helpers.getDocument();
});
it("should show the recurring event 51 times (excluded once) in a 364-day (inclusive) period", async () => {
await expect(testElementLength(".calendar .event", 51)).resolves.toBe(true);
});
});
describe("Events from multiple calendars", () => {
beforeAll(async () => {
await helpers.startApplication("tests/configs/modules/calendar/show-duplicates-in-calendar.js");