Add strike test

This commit is contained in:
syuilo 2021-06-06 23:54:51 +09:00
parent 294e7a5574
commit ba9b937d8f

View file

@ -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', () => {