mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:44:27 +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>');
|
||
|
});
|