refactor roundtripping into a single place

and fix isRichTextEnabled to be correctly camelCased everywhere...
This commit is contained in:
Matthew Hodgson 2018-05-20 16:30:39 +01:00
parent aac6866779
commit d799b7e424
4 changed files with 84 additions and 89 deletions

View file

@ -69,7 +69,7 @@ describe('MessageComposerInput', () => {
'mx_MessageComposer_input_markdownIndicator');
ReactTestUtils.Simulate.click(indicator);
expect(mci.state.isRichtextEnabled).toEqual(false, 'should have changed mode');
expect(mci.state.isRichTextEnabled).toEqual(false, 'should have changed mode');
done();
});
});