Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Syed-Ali-Abbas-Zaidi committed Jul 13, 2023
1 parent ff415bd commit acc2589
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/catalog-search/src/tests/SearchSuggestions.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ describe('<SeachSuggestions />', () => {
handleSubmit={handleSubmit}
/>,
);
userEvent.click(container.getElementsByClassName('suggestion-item')[0]);
expect(true).toBe(true);

// userEvent.click(container.getElementsByClassName('suggestion-item')[0]);
expect(container.getElementsByClassName('suggestion-item')[0].href).toContain('/test-enterprise/course/edX+courseX');
// expect(window.location.pathname).toBe('/test-enterprise/course/edX+courseX');
});

Expand Down

0 comments on commit acc2589

Please sign in to comment.