Skip to content
Snippets Groups Projects
Commit 39107c9c authored by marihachi's avatar marihachi
Browse files

update test

parent 861b57b5
No related branches found
No related tags found
No related merge requests found
......@@ -461,21 +461,23 @@ after`;
assert.deepStrictEqual(parse(input), output);
});
it('toString', () => {
const input =
`before
<center>
Hello [tada everynyan! 🎉]
describe('toString API', () => {
it('basic', () => {
const input =
`before
<center>
Hello [tada everynyan! 🎉]
I'm @ai, A bot of misskey!
I'm @ai, A bot of misskey!
https://github.com/syuilo/ai
</center>
after`;
assert.strictEqual(toString(parse(input)), input);
https://github.com/syuilo/ai
</center>
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);
......
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