From 84abd4bcb6855e53f6c11e370c6671c2911f26c9 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 5 Jul 2019 23:54:27 +0100 Subject: [PATCH] add tests for markdown node --- package.json | 1 + parsers/markdown/70-markdown.html | 6 +- parsers/markdown/70-markdown.js | 2 +- parsers/markdown/README.md | 6 +- parsers/markdown/package.json | 2 +- test/parsers/markdown/70-markdown_spec.js | 109 ++++++++++++++++++++++ 6 files changed, 122 insertions(+), 4 deletions(-) create mode 100644 test/parsers/markdown/70-markdown_spec.js diff --git a/package.json b/package.json index e4e3aee5..5fe5f32c 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "grunt-simple-mocha": "^0.4.1", "imap": "^0.8.19", "mailparser-mit": "^1.0.0", + "markdown-it": "^8.4.2", "mocha": "^6.1.4", "msgpack-lite": "^0.1.26", "multilang-sentiment": "^1.2.0", diff --git a/parsers/markdown/70-markdown.html b/parsers/markdown/70-markdown.html index befc415f..c449a2ad 100644 --- a/parsers/markdown/70-markdown.html +++ b/parsers/markdown/70-markdown.html @@ -8,8 +8,12 @@