Fix unit tests

This commit is contained in:
Timo K
2026-04-15 15:51:21 +02:00
parent 486b3ea45d
commit 3fc823e049
5 changed files with 30 additions and 42 deletions

View File

@@ -565,7 +565,11 @@ export const InCallView: FC<InCallViewProps> = ({
const settingsButtonInAppBar =
headerStyle === HeaderStyle.AppBar && showHeader;
useAppBarSecondaryButton(
<SettingsIconButton key="settings" onClick={openSettings} />,
<SettingsIconButton
key="settings"
onClick={openSettings}
data-testid="settings-app-bar"
/>,
);
// Only hide the settings button if we have an AppBar header and we are showing the header