summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-01-27 16:31:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-01-27 16:31:00 +0900
commit4de62220e3f0e2ed759d31b633ef267b12ec16b3 (patch)
treec795c7972b3ba617aa312c469a3d94216af64575 /test
parent[MFM] Add spin syntax (diff)
downloadmisskey-4de62220e3f0e2ed759d31b633ef267b12ec16b3.tar.gz
misskey-4de62220e3f0e2ed759d31b633ef267b12ec16b3.tar.bz2
misskey-4de62220e3f0e2ed759d31b633ef267b12ec16b3.zip
[MFM] Add flip syntax
Resolve #4002
Diffstat (limited to 'test')
-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, [