ungleich-staticcms/assets/u/static/popper.js-1.16.0/packages/test-utils/utils/makeConnectedElement.js

10 lines
271 B
JavaScript
Raw Normal View History

import makeElement from './makeElement';
/**
* Create an element that's connected to the DOM.
*/
export default function makeConnectedElement() {
const jasmineWrapper = document.getElementById('jasmineWrapper');
return jasmineWrapper.appendChild(makeElement());
}