Fix tests

This commit is contained in:
Oliver Sand
2021-01-29 14:54:13 +01:00
parent 54c7d02f7b
commit ac396e8e0b
4 changed files with 6 additions and 37 deletions
@@ -41,7 +41,7 @@ describe('<DomainCard />', () => {
expect(getByText('artists')).toBeInTheDocument();
expect(getByText('Everything about artists')).toBeInTheDocument();
expect(getByText('a-tag')).toBeInTheDocument();
expect(getByText('Explore')).toHaveAttribute(
expect(getByText('Explore').parentElement).toHaveAttribute(
'href',
'/catalog/default/domain/artists',
);