mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 05:33:08 +02:00
Fix test fails
This commit is contained in:
parent
3fe934ee62
commit
b9b05a7401
1 changed files with 4 additions and 4 deletions
|
@ -182,14 +182,14 @@ describe('Text', () => {
|
|||
it('emoji', () => {
|
||||
const tokens1 = analyze(':cat:');
|
||||
assert.deepEqual([
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
|
||||
], tokens1);
|
||||
|
||||
const tokens2 = analyze(':cat::cat::cat:');
|
||||
assert.deepEqual([
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
|
||||
], tokens2);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue