Skip to content

Commit 37d027f

Browse files
committed
8/26 events
1 parent 31d9013 commit 37d027f

2 files changed

Lines changed: 57 additions & 2 deletions

File tree

src/data/events/EVENTS_DATA.test.ts

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ describe("EVENTS_DATA", () => {
2020
"forum.netmarble.com/stardive_gl/view/6/531-bonus-time-event",
2121
]),
2222
);
23-
expect(EVENTS_DATA).toHaveLength(11);
23+
expect(EVENTS_DATA).toHaveLength(13);
2424
expect(EVENTS_DATA.map(({ id }) => id)).toContain(
2525
"inquisitors-day-off-shop-story-missions",
2626
);
2727
});
2828

2929
it("imports the Brisshell notice periods and published recurrence metadata", () => {
3030
const brisshellEvents = EVENTS_DATA.filter(
31-
({ id }) => id !== "inquisitors-day-off-shop-story-missions",
31+
({ noticeUrl }) =>
32+
noticeUrl?.includes("/548#:~:text=") ||
33+
noticeUrl?.includes("/556#:~:text="),
3234
);
3335
expect(brisshellEvents).toHaveLength(10);
3436
expect(brisshellEvents.filter((event) => event.noticeUrl)).toHaveLength(10);
@@ -179,6 +181,36 @@ describe("EVENTS_DATA", () => {
179181
}
180182
});
181183

184+
it("imports the August 26 notice periods and published recurrence metadata", () => {
185+
const expectedEvents = {
186+
"combine-monsterlings-missions": {
187+
noticeUrl:
188+
"https://forum.netmarble.com/stardive_gl/view/6/565#:~:text=Combine%20Monsterlings%20Missions",
189+
startAt: "2026-08-26T00:00:00.000Z",
190+
endAt: "2026-09-01T23:59:00.000Z",
191+
recurrence: "none",
192+
},
193+
"10-day-check-in-mission": {
194+
noticeUrl:
195+
"https://forum.netmarble.com/stardive_gl/view/6/565#:~:text=10-Day%20Check-In%20Mission",
196+
startAt: "2026-08-26T00:00:00.000Z",
197+
endAt: "2026-09-08T23:59:00.000Z",
198+
recurrence: "daily",
199+
},
200+
} as const;
201+
202+
for (const [id, expectedEvent] of Object.entries(expectedEvents)) {
203+
expect(EVENTS_DATA.find((event) => event.id === id)).toMatchObject({
204+
id,
205+
noticeTitle: "8/26 (Wed) Event Notice",
206+
...expectedEvent,
207+
});
208+
}
209+
expect(
210+
EVENTS_DATA.find((event) => event.id === "10-day-check-in-mission"),
211+
).not.toHaveProperty("recurrenceStartAt");
212+
});
213+
182214
it("defines unique, valid UTC event periods and optional reset anchors", () => {
183215
expect(new Set(EVENTS_DATA.map(({ id }) => id)).size).toBe(
184216
EVENTS_DATA.length,

src/data/events/EVENTS_DATA.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ const BRISSHELL_DISCORD_NOTICE_TITLE =
3333
"8/19 (Wed) 「The Girl from the Void」Brisshell Screenshot Event Notice";
3434
const BRISSHELL_DISCORD_NOTICE_URL =
3535
"https://forum.netmarble.com/stardive_gl/view/6/556";
36+
const AUGUST_26_EVENT_NOTICE_TITLE = "8/26 (Wed) Event Notice";
37+
const AUGUST_26_EVENT_NOTICE_URL =
38+
"https://forum.netmarble.com/stardive_gl/view/6/565";
3639
const MABEL_EVENT_NOTICE_TITLE =
3740
"7/28 (Tue)「Inquisitor, Recorder of Reality and Phenomena Therein」Event Notice";
3841

@@ -148,4 +151,24 @@ export const EVENTS_DATA: ChecklistEvent[] = [
148151
endAt: "2026-08-26T01:00:00.000Z",
149152
recurrence: CHECKLIST_RECURRENCES.NONE,
150153
},
154+
{
155+
id: "combine-monsterlings-missions",
156+
title: "Combine Monsterlings Missions",
157+
noticeTitle: AUGUST_26_EVENT_NOTICE_TITLE,
158+
noticeUrl: `${AUGUST_26_EVENT_NOTICE_URL}#:~:text=Combine%20Monsterlings%20Missions`,
159+
kind: CHECKLIST_KINDS.EVENT,
160+
startAt: "2026-08-26T00:00:00.000Z",
161+
endAt: "2026-09-01T23:59:00.000Z",
162+
recurrence: CHECKLIST_RECURRENCES.NONE,
163+
},
164+
{
165+
id: "10-day-check-in-mission",
166+
title: "10-Day Check-In Mission",
167+
noticeTitle: AUGUST_26_EVENT_NOTICE_TITLE,
168+
noticeUrl: `${AUGUST_26_EVENT_NOTICE_URL}#:~:text=10-Day%20Check-In%20Mission`,
169+
kind: CHECKLIST_KINDS.EVENT,
170+
startAt: "2026-08-26T00:00:00.000Z",
171+
endAt: "2026-09-08T23:59:00.000Z",
172+
recurrence: CHECKLIST_RECURRENCES.DAILY,
173+
},
151174
];

0 commit comments

Comments
 (0)