apply review feedback from @lukebarnard1
(cherry picked from commit 37d4bce) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
83f2614919
commit
021409aafe
6 changed files with 38 additions and 116 deletions
|
@ -10,7 +10,6 @@ const MessageComposerInput = sdk.getComponent('views.rooms.MessageComposerInput'
|
|||
import MatrixClientPeg from '../../../../src/MatrixClientPeg';
|
||||
import RoomMember from 'matrix-js-sdk';
|
||||
|
||||
/*
|
||||
function addTextToDraft(text) {
|
||||
const components = document.getElementsByClassName('public-DraftEditor-content');
|
||||
if (components && components.length) {
|
||||
|
@ -21,7 +20,9 @@ function addTextToDraft(text) {
|
|||
}
|
||||
}
|
||||
|
||||
describe('MessageComposerInput', () => {
|
||||
// FIXME: These tests need to be updated from Draft to Slate.
|
||||
|
||||
xdescribe('MessageComposerInput', () => {
|
||||
let parentDiv = null,
|
||||
sandbox = null,
|
||||
client = null,
|
||||
|
@ -300,5 +301,4 @@ describe('MessageComposerInput', () => {
|
|||
expect(spy.args[0][1].body).toEqual('[Click here](https://some.lovely.url)');
|
||||
expect(spy.args[0][1].formatted_body).toEqual('<a href="https://some.lovely.url">Click here</a>');
|
||||
});
|
||||
});
|
||||
*/
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue