summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-11-08 12:42:13 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-11-08 12:42:13 +0900
commit19f4812c034edb55845a0bb37b720340b02a0891 (patch)
treee681752f4ce1394f62cad90c65f5fbd0b62dd869 /test
parentユーザーピッカーに最近使用したユーザーを表示するよ... (diff)
downloadsharkey-19f4812c034edb55845a0bb37b720340b02a0891.tar.gz
sharkey-19f4812c034edb55845a0bb37b720340b02a0891.tar.bz2
sharkey-19f4812c034edb55845a0bb37b720340b02a0891.zip
Remove outdated test
Diffstat (limited to 'test')
-rw-r--r--test/mfm.ts43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/mfm.ts b/test/mfm.ts
index 650fabcb87..a32457e89f 100644
--- a/test/mfm.ts
+++ b/test/mfm.ts
@@ -945,49 +945,6 @@ describe('MFM', () => {
]);
});
- describe('title', () => {
- it('simple', () => {
- const tokens = parse('【foo】');
- assert.deepStrictEqual(tokens, [
- tree('title', [
- text('foo')
- ], {})
- ]);
- });
-
- it('require line break', () => {
- const tokens = parse('a【foo】');
- assert.deepStrictEqual(tokens, [
- text('a【foo】')
- ]);
- });
-
- it('with before and after texts', () => {
- const tokens = parse('before\n【foo】\nafter');
- assert.deepStrictEqual(tokens, [
- text('before\n'),
- tree('title', [
- text('foo')
- ], {}),
- text('after')
- ]);
- });
-
- it('ignore multiple title blocks', () => {
- const tokens = parse('【foo】bar【baz】');
- assert.deepStrictEqual(tokens, [
- text('【foo】bar【baz】')
- ]);
- });
-
- it('disallow linebreak in title', () => {
- const tokens = parse('【foo\nbar】');
- assert.deepStrictEqual(tokens, [
- text('【foo\nbar】')
- ]);
- });
- });
-
describe('center', () => {
it('simple', () => {
const tokens = parse('<center>foo</center>');