Disable wysiwyg at the end of the test

This commit is contained in:
Florian Duros 2022-10-10 17:42:15 +02:00
parent 70f57797f5
commit f8ec4ec1ed
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B

View file

@ -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();
}); });
}); });