Skip to content

Commit

Permalink
remove ts comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Nov 8, 2022
1 parent c5324a5 commit a90cdb8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/docsearch-react/src/__tests__/api.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ describe('api', () => {
}}
/>
);
// We can silence the potentially undefined here because we assert that they are not
expect(document.querySelector(docSearchSelector)).toBeInTheDocument();
expect(
document.querySelector('.DocSearch-Button-Placeholder')!.innerHTML
Expand Down Expand Up @@ -169,7 +168,6 @@ describe('api', () => {
fireEvent.click(await screen.findByText('Search'));
});

// We can silence the potentially undefined here because we assert that they are not
expect(document.querySelector('.DocSearch-Cancel')!.innerHTML).toBe(
'Annuler'
);
Expand Down Expand Up @@ -295,7 +293,6 @@ describe('api', () => {

expect(screen.getByText(/No results for/)).toBeInTheDocument();

// We can silence the potentially undefined here because we assert that they are not
const link = document.querySelector('.DocSearch-Help a');
expect(link).toBeInTheDocument();
expect(link!.getAttribute('href')).toBe(
Expand Down

0 comments on commit a90cdb8

Please sign in to comment.