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