Disable wysiwyg at the end of the test
This commit is contained in:
parent
70f57797f5
commit
f8ec4ec1ed
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue