mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
added test for calendar recurring event with checks the correct date displayed (related to #2752)
This commit is contained in:
parent
512c392386
commit
a954a62762
@ -11,6 +11,8 @@ _This release is scheduled to be released on 2022-01-01._
|
||||
|
||||
### Added
|
||||
|
||||
- Added test for calendar recurring event with checks the correct date displayed (related to #2752).
|
||||
|
||||
### Updated
|
||||
|
||||
- ESLint version supports now ECMAScript 2018
|
||||
|
@ -68,6 +68,12 @@ describe("Calendar module", function () {
|
||||
it("should show the recurring birthday event 6 times", () => {
|
||||
testElementLength(".calendar .event", 6);
|
||||
});
|
||||
|
||||
it('should contain text "Mar 25th"', () => {
|
||||
const elem = document.querySelector(".calendar");
|
||||
expect(elem).not.toBe(null);
|
||||
expect(elem.textContent).toContain("Mar 25th");
|
||||
});
|
||||
});
|
||||
|
||||
describe("Changed port", function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user