From ba9b937d8f7cec12c3c696a99b4e40b7d4358584 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 6 Jun 2021 23:54:51 +0900
Subject: [PATCH] Add strike test

---
 test/parser.ts | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/test/parser.ts b/test/parser.ts
index fb0663f..38426b8 100644
--- a/test/parser.ts
+++ b/test/parser.ts
@@ -542,7 +542,15 @@ describe('FullParser', () => {
 		});
 	});
 
-	// strike
+	describe('strike', () => {
+		it('basic', () => {
+			const input = '~~foo~~';
+			const output = [STRIKE([
+				TEXT('foo')
+			])];
+			assert.deepStrictEqual(mfm.parse(input), output);
+		});
+	});
 
 	describe('inlineCode', () => {
 		it('basic', () => {
-- 
GitLab