Clarify test names
This commit is contained in:
parent
80a73a50f5
commit
030358e764
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ describe('MessageComposerInput', () => {
|
||||||
expect(spy.args[0][1]).toEqual('a');
|
expect(spy.args[0][1]).toEqual('a');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should send emoji messages in rich text', () => {
|
it('should send emoji messages when rich text is enabled', () => {
|
||||||
const spy = sinon.spy(client, 'sendTextMessage');
|
const spy = sinon.spy(client, 'sendTextMessage');
|
||||||
mci.enableRichtext(true);
|
mci.enableRichtext(true);
|
||||||
addTextToDraft('☹');
|
addTextToDraft('☹');
|
||||||
|
@ -118,7 +118,7 @@ describe('MessageComposerInput', () => {
|
||||||
expect(spy.calledOnce).toEqual(true, 'should send message');
|
expect(spy.calledOnce).toEqual(true, 'should send message');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should send emoji messages in Markdown', () => {
|
it('should send emoji messages when Markdown is enabled', () => {
|
||||||
const spy = sinon.spy(client, 'sendTextMessage');
|
const spy = sinon.spy(client, 'sendTextMessage');
|
||||||
mci.enableRichtext(false);
|
mci.enableRichtext(false);
|
||||||
addTextToDraft('☹');
|
addTextToDraft('☹');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue