mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Revert "Fix test fails"
This reverts commit b9b05a74017c37ae23986c005deac0a3465d497c.
This commit is contained in:
parent
a81494a8bf
commit
ecc3f412d1
@ -182,14 +182,14 @@ describe('Text', () => {
|
||||
it('emoji', () => {
|
||||
const tokens1 = analyze(':cat:');
|
||||
assert.deepEqual([
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
||||
], tokens1);
|
||||
|
||||
const tokens2 = analyze(':cat::cat::cat:');
|
||||
assert.deepEqual([
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', emoji: 'cat'}
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
||||
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
||||
], tokens2);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user