big-moving.ru/assets/vendor_components/popper/packages/test-utils/utils/makeConnectedElement.js

10 lines
271 B
JavaScript
Executable File

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());
}