mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 02:30:39 +08:00
Fix remaining test
This commit is contained in:
@@ -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(<RelativeTime {...props} />).toJSON();
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
exports[`uses default formatter 1`] = `
|
||||
<time
|
||||
className="RelativeTime-root"
|
||||
dateTime="2018-12-17T06:24:00.000Z"
|
||||
title="2018-12-17T03:24:00"
|
||||
dateTime="2018-12-17T03:24:00.000Z"
|
||||
title="2018-12-17T03:24:00.000Z"
|
||||
>
|
||||
2018-12-17T06:24:00.000Z
|
||||
2018-12-17T03:24:00.000Z
|
||||
</time>
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user