parent
ce3f735654
commit
6e343d50f1
4 changed files with 40 additions and 0 deletions
11
test/mfm.ts
11
test/mfm.ts
|
@ -702,6 +702,17 @@ describe('Text', () => {
|
|||
], tokens);
|
||||
});
|
||||
});
|
||||
|
||||
describe('strike', () => {
|
||||
it('simple', () => {
|
||||
const tokens = analyze('~~foo~~');
|
||||
assert.deepEqual([
|
||||
nodeWithChildren('strike', [
|
||||
text('foo')
|
||||
]),
|
||||
], tokens);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('toHtml', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue