From 4702546cdb46b92de81d5e5454f5c91de5908760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Mon, 29 Jun 2026 00:04:59 +0200 Subject: [PATCH] test(insights): freeze the clock in the freshness-caption tests to fix the midnight-boundary flake --- .../__tests__/daily-briefing.test.tsx | 23 +++++++++----- .../insights/__tests__/hero-strip.test.tsx | 30 ++++++++++++------- 2 files changed, 36 insertions(+), 17 deletions(-) diff --git a/src/components/insights/__tests__/daily-briefing.test.tsx b/src/components/insights/__tests__/daily-briefing.test.tsx index 5b1903f7e..3bd9bdb85 100644 --- a/src/components/insights/__tests__/daily-briefing.test.tsx +++ b/src/components/insights/__tests__/daily-briefing.test.tsx @@ -131,13 +131,22 @@ describe("", () => { it("renders the 'Updated today,