From 62d6a06e6e6d510c27561f79d51d7764150e6d53 Mon Sep 17 00:00:00 2001 From: Pascal Euhus Date: Fri, 1 Dec 2023 21:34:17 +0100 Subject: [PATCH] simple fake date --- frontend/components/MessageItem.test.tsx | 2 +- frontend/components/__snapshots__/MessageItem.test.tsx.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/components/MessageItem.test.tsx b/frontend/components/MessageItem.test.tsx index 7e802b53..96d90b39 100644 --- a/frontend/components/MessageItem.test.tsx +++ b/frontend/components/MessageItem.test.tsx @@ -6,7 +6,7 @@ describe(" spec", () => { const view = render(); expect(view).toMatchSnapshot(); diff --git a/frontend/components/__snapshots__/MessageItem.test.tsx.snap b/frontend/components/__snapshots__/MessageItem.test.tsx.snap index ebc2b096..17adcf08 100644 --- a/frontend/components/__snapshots__/MessageItem.test.tsx.snap +++ b/frontend/components/__snapshots__/MessageItem.test.tsx.snap @@ -22,7 +22,7 @@ Object { - Sent on: 1.1.1970, 01:00:02, Received at: Invalid Date + Sent on: Invalid Date, Received at: Invalid Date @@ -99,7 +99,7 @@ Object { - Sent on: 1.1.1970, 01:00:02, Received at: Invalid Date + Sent on: Invalid Date, Received at: Invalid Date