mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 05:56:14 +01: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>');
|
||
|
});
|