parent
b627c95469
commit
2a459f2db0
@ -1,10 +1,4 @@ |
||||
describe 'rocketchat:markdown Client + Server', -> |
||||
'use strict' |
||||
describe 'rocketchat:markdown Client', -> |
||||
|
||||
it 'should exist', -> |
||||
obj = RocketChat.Markdown { html: 'test' } |
||||
expect(obj).toBeDefined() |
||||
|
||||
it 'should highlight with bold when surrounded by *', -> |
||||
output = RocketChat.Markdown { 'msg': '', 'html':'*abc123*' } |
||||
expect(output.html).toEqual('<span class="copyonly">*</span><strong>abc123</strong><span class="copyonly">*</span>') |
||||
expect(RocketChat.Markdown).toBeDefined() |
||||
|
Loading…
Reference in new issue