Fix tests

This commit is contained in:
Charles Bochet
2023-10-05 16:16:02 +02:00
parent 73fa968595
commit a04bdc6824
3 changed files with 17 additions and 4 deletions

View File

@ -44,6 +44,7 @@ export const DropdownMenuHeader = ({
<StyledHeader {...props}>
{StartIcon && (
<LightIconButton
data-testid="dropdown-menu-header-end-icon"
Icon={StartIcon}
onClick={onClick}
accent="tertiary"
@ -53,6 +54,7 @@ export const DropdownMenuHeader = ({
<StyledChildrenWrapper>{children}</StyledChildrenWrapper>
{EndIcon && (
<StyledLightIconButton
testId="dropdown-menu-header-end-icon"
Icon={EndIcon}
onClick={onClick}
accent="tertiary"