Skip to content

Commit

Permalink
fix(test): mega menu test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhodgsonintergral committed Dec 5, 2024
1 parent 0d8a4e4 commit cbdc49c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ describe('MegaMenu', () => {
afterEach(() => {
window.localStorage.clear();
});
it('should not render component', async () => {
it('should render component', async () => {
setup();

expect(await screen.queryByTestId(selectors.components.NavMenu.Menu)).not.toBeInTheDocument();
expect(await screen.queryByRole('link', { name: 'Section name' })).not.toBeInTheDocument();
expect(await screen.queryByTestId(selectors.components.NavMenu.Menu)).toBeInTheDocument();
expect(await screen.queryByRole('link', { name: 'Section name' })).toBeInTheDocument();
});

it('should filter out profile', async () => {
Expand Down

0 comments on commit cbdc49c

Please sign in to comment.