export default {
html: ``,
async test({ assert, component, target, window }) {
const [button] = target.querySelectorAll(
'button'
);
const event = new window.MouseEvent('click');
await button.dispatchEvent(event);
assert.htmlEqual(target.innerHTML, ``);
await button.dispatchEvent(event);
assert.htmlEqual(target.innerHTML, ``);
await button.dispatchEvent(event);
assert.htmlEqual(target.innerHTML, ``);
},
};