diff --git a/test/mfm.ts b/test/mfm.ts index 5103d94131..1aadcd21e8 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -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); });