remove option
This commit is contained in:
@@ -21,7 +21,7 @@ describe('Footer component', () => {
|
||||
});
|
||||
test('Enthält Profil-Icon und entsprechenden Link: angemeldet', () => {
|
||||
render(Footer, { props: { data: baseData } });
|
||||
const linkElement = screen.getByText('admin', { exact: false });
|
||||
const linkElement = screen.getByText('admin');
|
||||
expect(linkElement).toBeInTheDocument();
|
||||
expect(linkElement).toHaveAttribute('href', ROUTE_NAMES.ROOT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user