export default {
async test({ assert, target, window }) {
const button = target.querySelector('button');
const click = new window.MouseEvent('click');
assert.htmlEqual(target.innerHTML, '');
await button.dispatchEvent(click);
await Promise.resolve();
assert.htmlEqual(target.innerHTML, '');
}
};