mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Disable wysiwyg at the end of the test
This commit is contained in:
@@ -361,6 +361,8 @@ describe("MessageComposer", () => {
|
|||||||
|
|
||||||
SettingsStore.setValue("feature_wysiwyg_composer", null, SettingLevel.DEVICE, true);
|
SettingsStore.setValue("feature_wysiwyg_composer", null, SettingLevel.DEVICE, true);
|
||||||
const wrapper = wrapAndRender({ room });
|
const wrapper = wrapAndRender({ room });
|
||||||
|
|
||||||
|
SettingsStore.setValue("feature_wysiwyg_composer", null, SettingLevel.DEVICE, false);
|
||||||
expect(wrapper.find(WysiwygComposer)).toBeTruthy();
|
expect(wrapper.find(WysiwygComposer)).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user