mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-17 19:21:20 +03:00
fixes lint and test errors
This commit is contained in:
@@ -13,7 +13,7 @@ describe('@bbob/html', () => {
|
||||
|
||||
test('render bbcode tag with multiple params as html tag', () => {
|
||||
const input = '[url href=https://ru.wikipedia.org target=_blank text="Foo Bar"]Text[/url]';
|
||||
const result = '<url url="https://ru.wikipedia.org">Text</url>';
|
||||
const result = '<url href="https://ru.wikipedia.org" target="_blank" text="Foo Bar">Text</url>';
|
||||
|
||||
expect(process(input)).toBe(result);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user