Skip to content

Commit

Permalink
Add pathname assertion in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
mutuajames committed Jun 29, 2023
1 parent 6e2a391 commit f08e9b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ describe('Care Teams list view', () => {
</span>
`);
fireEvent.click(viewDetailsLink);
expect(history.location.pathname).toEqual('/admin/CareTeams');
expect(history.location.search).toEqual('?viewDetails=308');

await waitForElementToBeRemoved(queryByText(/Fetching Care team/i));
Expand Down

0 comments on commit f08e9b3

Please sign in to comment.