Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiqueclarke committed Oct 19, 2021
1 parent bc7537a commit 162b0b4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ describe('ChartCreationInfo', () => {
render(<ChartCreationInfo {...info} />);

expect(screen.getByText('Chart created')).toBeInTheDocument();
expect(screen.getByText('10/12/2021 04:39 PM')).toBeInTheDocument();
expect(screen.getByText('Oct 12, 2021 4:39 PM')).toBeInTheDocument();
expect(screen.getByText('Displaying from')).toBeInTheDocument();
expect(screen.getByText('10/05/2021 12:00 AM → 10/12/2021 04:38 PM')).toBeInTheDocument();
expect(screen.getByText('Oct 5, 2021 12:00 AM → Oct 12, 2021 4:38 PM')).toBeInTheDocument();
});

it('does not display info when props are falsey', async () => {
Expand Down

0 comments on commit 162b0b4

Please sign in to comment.