mirror of
1
Fork 0
forgejo/web_src/js/utils/dom.test.js

6 lines
202 B
JavaScript
Raw Normal View History

import {createElementFromHTML} from './dom.js';
test('createElementFromHTML', () => {
expect(createElementFromHTML('<a>foo<span>bar</span></a>').outerHTML).toEqual('<a>foo<span>bar</span></a>');
});