1
0
Fork 0

remove ts comment

This commit is contained in:
Clément Vannicatte 2022-11-08 08:58:04 +01:00
parent c5324a52a1
commit a90cdb8647

View file

@ -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
@ -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'
);
@ -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(