Skip to content
Snippets Groups Projects
Commit 90836820 authored by Sing-Li's avatar Sing-Li
Browse files

add velocity jasmine and sample unit test - closes #1027

parent 77c67103
No related branches found
No related tags found
No related merge requests found
......@@ -105,3 +105,5 @@ spacebars
check
rocketchat:github-enterprise
rocketchat:chatops
sanjo:jasmine@0.20.2
velocity:html-reporter
......@@ -8,6 +8,7 @@ accounts-password@1.1.3
accounts-twitter@1.0.6
alanning:roles@1.2.13
aldeed:simple-schema@1.3.3
amplify@1.0.0
arunoda:streams@0.1.17
autoupdate@1.2.3
babel-compiler@5.8.24_1
......@@ -101,11 +102,14 @@ oauth1@1.1.5
oauth2@1.1.5
observe-sequence@1.0.7
ordered-dict@1.0.4
package-version-parser@3.0.4
pauli:accounts-linkedin@1.1.2
pauli:linkedin@1.1.2
perak:codemirror@1.2.7
percolate:migrations@0.9.6
percolate:synced-cron@1.3.0
practicalmeteor:chai@2.1.0_1
practicalmeteor:loglevel@1.2.0_2
promise@0.5.0
qnub:emojione@0.0.3
raix:eventemitter@0.1.3
......@@ -146,6 +150,11 @@ rocketchat:statistics@0.0.1
rocketchat:webrtc@0.0.1
rocketchat:wordpress@0.0.1
routepolicy@1.0.6
sanjo:jasmine@0.20.2
sanjo:karma@3.0.2
sanjo:long-running-child-process@1.1.3
sanjo:meteor-files-helpers@1.2.0_1
sanjo:meteor-version@1.0.0
service-configuration@1.0.5
session@1.1.1
sha@1.0.4
......@@ -169,6 +178,13 @@ ui@1.0.8
underscore@1.0.4
underscorestring:underscore.string@3.2.2
url@1.0.5
velocity:chokidar@1.2.0_1
velocity:core@0.10.4
velocity:html-reporter@0.9.0
velocity:meteor-internals@1.1.0_7
velocity:meteor-stubs@1.1.0
velocity:shim@0.1.0
velocity:source-map-support@0.3.2_1
webapp@1.2.2
webapp-hashing@1.0.5
yasaricli:slugify@0.0.7
......
......@@ -25,4 +25,4 @@ class Markdown
return message
RocketChat.callbacks.add 'renderMessage', Markdown, RocketChat.callbacks.priority.LOW
RocketChat.Markdown = true
RocketChat.Markdown = Markdown
describe('Testing rocketchat:markdown', function () {
'use strict';
it('should highlight with bold when surrounded by *', function () {
var output = RocketChat.Markdown({'msg': '', 'html':'*abc123*'});
expect(output.html).toEqual('<span class="copyonly">*</span><strong>abc123</strong><span class="copyonly">*</span>')
});
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment