Skip to content

Commit

Permalink
test: Add test for Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
zimme committed Dec 19, 2017
1 parent 68e95f7 commit 912b4f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ const tests = [
filePath: path.resolve("./test.json")
},
output: '{ "foo": "bar" }'
},
{
title: "Markdown example",
input: {
text: "# Foo\n _bar_",
filePath: path.resolve("./test.md")
},
output: "# Foo\n\n_bar_"
}
];

Expand Down

0 comments on commit 912b4f9

Please sign in to comment.