Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-07-16 14:53:25 +02:00
parent 4e1b7d5cd7
commit d488326303
@@ -248,9 +248,8 @@ describe('CatalogPage', () => {
it('should wrap filter in drawer on smaller screens', async () => {
mockBreakpoint({ matches: true });
const { findByText, getByTestId } = await renderWrapped(<CatalogPage />);
const { getByTestId } = await renderWrapped(<CatalogPage />);
expect(getByTestId('entity-filters-drawer')).toBeInTheDocument();
await expect(findByText('Filters')).resolves.toBeInTheDocument();
});
it('should wrap filter in grid on larger screens', async () => {