Disable wysiwyg at the end of the test

pull/28217/head
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
1 changed files with 2 additions and 0 deletions

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