Skip to content

Commit

Permalink
test: fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
genaris committed Nov 2, 2023
1 parent 96384af commit 8374087
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/Message.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Message component', () => {
user={{ _id: 1 }}
currentMessage={{
_id: '1',
createdAt: new Date(),
createdAt: new Date(1554744013721 * 1000),
text: 'hello',
user: { _id: 1 },
}}
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/__snapshots__/Message.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ exports[`Message component should NOT render <Message /> 1`] = `
]
}
>
10:41 PM
10:08 AM
</Text>
</View>
</View>
Expand Down

0 comments on commit 8374087

Please sign in to comment.