add more tests
This commit is contained in:
parent
7b26067397
commit
e1e53f567f
4 changed files with 96 additions and 12 deletions
|
@ -58,7 +58,8 @@ function addReplyToMessageContent(content, repliedToEvent, permalinkCreator) {
|
|||
}
|
||||
}
|
||||
|
||||
function createMessageContent(model, permalinkCreator) {
|
||||
// exported for tests
|
||||
export function createMessageContent(model, permalinkCreator) {
|
||||
const isEmote = containsEmote(model);
|
||||
if (isEmote) {
|
||||
model = stripEmoteCommand(model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue