From 2a8287aabdda833429721f4459541244f1be41fd Mon Sep 17 00:00:00 2001 From: Mangesh Raut <95149253+mangeshraut712@users.noreply.github.com> Date: Sun, 29 Nov 2026 16:56:52 +0530 Subject: [PATCH] Make the search timestamp assertion portable across time zones --- website/__tests__/search.integration.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/__tests__/search.integration.test.tsx b/website/__tests__/search.integration.test.tsx index fddd6f8b..ce771e53 100644 --- a/website/__tests__/search.integration.test.tsx +++ b/website/__tests__/search.integration.test.tsx @@ -73,11 +73,13 @@ describe('Search Integration', () => { }) it('renders search package row with correct link and info', () => { + // The component displays the viewer's local time. Supply the equivalent UTC instant. + const createdAt = new Date(2024, 5, 15, 10, 30).toISOString() render( )