virt2/assets/vendor_components/popper/packages/test-utils/utils/makeConnectedElement.js

10 lines
271 B
JavaScript
Raw Permalink 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());
}