[CHORE] Stub date
This commit is contained in:
parent
bec82c01db
commit
0e2a425019
2 changed files with 6 additions and 6 deletions
|
@ -29,16 +29,16 @@ exports[`MessagesTable when topic contains messages matches snapshot 1`] = `
|
|||
"key": "val",
|
||||
}
|
||||
}
|
||||
key="message-799617600000"
|
||||
key="message-802310400000"
|
||||
offset={2}
|
||||
partition={1}
|
||||
timestamp={1995-05-04T20:00:00.000Z}
|
||||
timestamp={1995-06-05T00:00:00.000Z}
|
||||
/>
|
||||
<MessageItem
|
||||
key="message-1588798800000"
|
||||
key="message-1596585600000"
|
||||
offset={20}
|
||||
partition={2}
|
||||
timestamp={2020-05-06T21:00:00.000Z}
|
||||
timestamp={2020-08-05T00:00:00.000Z}
|
||||
/>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -4,7 +4,7 @@ export const messages: TopicMessage[] = [
|
|||
{
|
||||
partition: 1,
|
||||
offset: 2,
|
||||
timestamp: new Date('05-05-1995'),
|
||||
timestamp: new Date(Date.UTC(1995, 5, 5)),
|
||||
content: {
|
||||
foo: 'bar',
|
||||
key: 'val',
|
||||
|
@ -13,7 +13,7 @@ export const messages: TopicMessage[] = [
|
|||
{
|
||||
partition: 2,
|
||||
offset: 20,
|
||||
timestamp: new Date('05-07-2020'),
|
||||
timestamp: new Date(Date.UTC(2020, 7, 5)),
|
||||
content: undefined,
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue