mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 06:26:43 -06:00
Add test
This commit is contained in:
parent
630a534cee
commit
389f9bfea2
1 changed files with 5 additions and 0 deletions
|
@ -191,6 +191,11 @@ describe('Text', () => {
|
||||||
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
{ type: 'emoji', content: ':cat:', name: 'cat'},
|
||||||
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
{ type: 'emoji', content: ':cat:', name: 'cat'}
|
||||||
], tokens2);
|
], tokens2);
|
||||||
|
|
||||||
|
const tokens3 = analyze('🍎');
|
||||||
|
assert.deepEqual([
|
||||||
|
{ type: 'emoji', content: ':cat:', emoji: '🍎'}
|
||||||
|
], tokens3);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('block code', () => {
|
it('block code', () => {
|
||||||
|
|
Loading…
Reference in a new issue