test: adapt unit tests to HealthChat fork customizations

This commit is contained in:
2026-06-06 15:14:12 +02:00
parent 2685821bdc
commit d72b973d01
9 changed files with 36 additions and 58 deletions
@@ -25,6 +25,9 @@ const PresentationProbe: React.FC = () => {
describe("EventPresentationContextProvider", () => {
beforeEach(async () => {
// HealthChat changed the default "layout" to Bubble, but useCompactLayout's IncompatibleController
// only allows compact density when the layout is Group. Pin it so the compact-layout test is meaningful.
await SettingsStore.setValue("layout", null, SettingLevel.DEVICE, Layout.Group);
await SettingsStore.setValue("useCompactLayout", null, SettingLevel.DEVICE, false);
});