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);
const wrapper = wrapAndRender({ room });
SettingsStore.setValue("feature_wysiwyg_composer", null, SettingLevel.DEVICE, false);
expect(wrapper.find(WysiwygComposer)).toBeTruthy();
});
});