mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 22:25:36 +00:00
test: adapt unit tests to HealthChat fork customizations
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user