mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
Add strike test
This commit is contained in:
parent
294e7a5574
commit
ba9b937d8f
1 changed files with 9 additions and 1 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue