mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-06 09:58:10 +00:00
Update splash message tests
This commit is contained in:
parent
1f69590b88
commit
a46d8a6855
@ -22,16 +22,24 @@ describe("Data - Splash Messages", () => {
|
|||||||
vi.useRealTimers(); // reset system time
|
vi.useRealTimers(); // reset system time
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should contain halloween messages from Sep 15 to Oct 31", () => {
|
it("should contain new years messages from Jan 1 to Jan 15", () => {
|
||||||
testSeason(new Date("2024-09-15"), new Date("2024-10-31"), "halloween");
|
testSeason(new Date("2025-01-01"), new Date("2025-01-15"), "newYears");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should contain xmas messages from Dec 1 to Dec 26", () => {
|
it("should contain valentines messages from Feb 7 to Feb 21", () => {
|
||||||
testSeason(new Date("2024-12-01"), new Date("2024-12-26"), "xmas");
|
testSeason(new Date("2025-02-07"), new Date("2025-02-21"), "valentines");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should contain new years messages frm Jan 1 to Jan 31", () => {
|
it("should contain april fools messages from Jan 1 to Jan 15", () => {
|
||||||
testSeason(new Date("2024-01-01"), new Date("2024-01-31"), "newYears");
|
testSeason(new Date("2025-04-01"), new Date("2025-04-02"), "aprilFools");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("should contain halloween messages from Oct 15 to Oct 31", () => {
|
||||||
|
testSeason(new Date("2025-10-15"), new Date("2025-10-31"), "halloween");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("should contain winter holiday messages from Dec 1 to Dec 31", () => {
|
||||||
|
testSeason(new Date("2025-12-01"), new Date("2025-12-31"), "winterHoliday");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user