summaryrefslogtreecommitdiff
path: root/test/mfm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/mfm.ts')
-rw-r--r--test/mfm.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/mfm.ts b/test/mfm.ts
index d8cba8ee15..e48bba09ef 100644
--- a/test/mfm.ts
+++ b/test/mfm.ts
@@ -244,6 +244,15 @@ describe('MFM', () => {
]);
});
+ it('flip', () => {
+ const tokens = analyze('<flip>foo</flip>');
+ assert.deepStrictEqual(tokens, [
+ tree('flip', [
+ text('flip')
+ ], {}),
+ ]);
+ });
+
it('spin', () => {
const tokens = analyze('<spin>:foo:</spin>');
assert.deepStrictEqual(tokens, [