export default {
async test({ assert, target, window }) {
const btn = target.querySelector('button');
const clickEvent = new window.MouseEvent('click');
assert.equal(window.document.head.innerHTML.includes(''), true);
await btn.dispatchEvent(clickEvent);
assert.equal(window.document.head.innerHTML.includes(''), true);
await btn.dispatchEvent(clickEvent);
assert.equal(window.document.head.innerHTML.includes(''), true);
}
};