mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 21:59:35 +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>');
|
||
|
});
|