mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
update test
This commit is contained in:
parent
861b57b51d
commit
39107c9c05
1 changed files with 13 additions and 11 deletions
|
@ -461,7 +461,8 @@ after`;
|
|||
assert.deepStrictEqual(parse(input), output);
|
||||
});
|
||||
|
||||
it('toString', () => {
|
||||
describe('toString API', () => {
|
||||
it('basic', () => {
|
||||
const input =
|
||||
`before
|
||||
<center>
|
||||
|
@ -474,8 +475,9 @@ https://github.com/syuilo/ai
|
|||
after`;
|
||||
assert.strictEqual(toString(parse(input)), input);
|
||||
});
|
||||
});
|
||||
|
||||
describe('inspect', () => {
|
||||
describe('inspect API', () => {
|
||||
it('replace text', () => {
|
||||
const input = 'good morning [tada everynyan!]';
|
||||
const result = parse(input);
|
||||
|
|
Loading…
Reference in a new issue