Skip to content
Snippets Groups Projects
Commit 051e903d authored by marihachi's avatar marihachi
Browse files

add test

parent ffe1e3ff
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,17 @@ after`;
it('search', () => {
const input = 'MFM 書き方 123 Search';
assert.strictEqual(mfm.toString(mfm.parse(input)), 'MFM 書き方 123 Search');
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('block code', () => {
const input = '```\nabc\n```';
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('math block', () => {
const input = '\\[\ny = 2x + 1\n\\]';
assert.strictEqual(mfm.toString(mfm.parse(input)), input);
});
it('center', () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment