Skip to content

Commit

Permalink
🧪: Tests finales añadidos (fechas sin cambio de hora)
Browse files Browse the repository at this point in the history
  • Loading branch information
coral2742 committed May 9, 2024
1 parent 5df4e15 commit d1cde7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/RegisteredUsers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Registered Users component', () => {
await waitFor(() => {

expect(screen.getByText('pablo')).toBeInTheDocument();
expect(screen.getByText('03/04/2024 14:34')).toBeInTheDocument();
expect(screen.getByText('03/04/2024 12:34')).toBeInTheDocument();
});

});
Expand All @@ -49,8 +49,8 @@ describe('Registered Users component', () => {

await waitFor(() => {
// Check if dates are formatted correctly
expect(screen.getByText('03/04/2024 14:34')).toBeInTheDocument();
expect(screen.getByText('02/04/2024 14:39')).toBeInTheDocument();
expect(screen.getByText('03/04/2024 12:34')).toBeInTheDocument();
expect(screen.getByText('02/04/2024 12:39')).toBeInTheDocument();
});

});
Expand Down

0 comments on commit d1cde7b

Please sign in to comment.