mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-10-31 20:44:07 +00:00
6 lines
202 B
JavaScript
6 lines
202 B
JavaScript
|
import {createElementFromHTML} from './dom.js';
|
||
|
|
||
|
test('createElementFromHTML', () => {
|
||
|
expect(createElementFromHTML('<a>foo<span>bar</span></a>').outerHTML).toEqual('<a>foo<span>bar</span></a>');
|
||
|
});
|