From 1a65aa76351665332d1c29dff72c35bc83c7fce6 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Thu, 12 Jul 2018 21:07:59 -0300 Subject: [PATCH] Fix remaining test --- .../client/ui/components/RelativeTime/RelativeTime.spec.tsx | 2 +- .../RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx b/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx index 4ea476503..92d0c547d 100644 --- a/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx +++ b/src/core/client/ui/components/RelativeTime/RelativeTime.spec.tsx @@ -8,7 +8,7 @@ import RelativeTime from "./RelativeTime"; it("uses default formatter", () => { const props = { - date: "2018-12-17T03:24:00", + date: "2018-12-17T03:24:00.000Z", }; const tree = create().toJSON(); diff --git a/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap b/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap index 0460b4b56..6d9388e87 100644 --- a/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap +++ b/src/core/client/ui/components/RelativeTime/__snapshots__/RelativeTime.spec.tsx.snap @@ -3,10 +3,10 @@ exports[`uses default formatter 1`] = ` `;