Skip to content

Commit

Permalink
fix(nenu): test icon class
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 committed Oct 24, 2023
1 parent 6fd43b9 commit c323d59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('e2e:osds-menu', () => {
});

it('should display a menu title as a ODS icon', async () => {
const icon = `<osds-icon slot="menu-title" name="home" size="xs" aria-hidden="" alt="" aria-name="" color="default" class="hydrated"></osds-icon>`;
const icon = `<osds-icon slot="menu-title" name="home" size="xs" aria-hidden="" alt="" aria-name="" color="default" class="hydrated ods-icon"></osds-icon>`;
await setup({ attributes: { }, html: icon });
expect(menuTitleContent.outerHTML).toBe(icon);
});
Expand Down

0 comments on commit c323d59

Please sign in to comment.