Skip to content

Commit dadef61

Browse files
committed
test(ingest): stabilize KST end-of-day assertion
1 parent 9a1e862 commit dadef61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/ingest/app/sources/kasa-space-weather-crisis-alert.source.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('KasaSpaceWeatherCrisisAlertSource', () => {
8989

9090
expect(result.events).toHaveLength(1);
9191
expect(result.events[0].level).toBe(EventLevels.Info);
92-
const expectedOccurredAt = new Date(2026, 0, 20, 23, 59, 59, 999).toISOString();
92+
const expectedOccurredAt = new Date('2026-01-20T23:59:59.999+09:00').toISOString();
9393
expect(result.events[0].occurredAt).toBe(expectedOccurredAt);
9494
});
9595

0 commit comments

Comments
 (0)