parent
d906d90010
commit
e5d9381503
6 changed files with 47 additions and 0 deletions
|
@ -244,6 +244,15 @@ describe('MFM', () => {
|
|||
]);
|
||||
});
|
||||
|
||||
it('spin', () => {
|
||||
const tokens = analyze('<spin>:foo:</spin>');
|
||||
assert.deepStrictEqual(tokens, [
|
||||
tree('spin', [
|
||||
leaf('emoji', { name: 'foo' })
|
||||
], {}),
|
||||
]);
|
||||
});
|
||||
|
||||
describe('motion', () => {
|
||||
it('by triple brackets', () => {
|
||||
const tokens = analyze('(((foo)))');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue