export default {
html: `
Hello World
`,
async test({ assert, target, window }) {
const button = target.querySelector('button');
const event = new window.MouseEvent('click');
await button.dispatchEvent(event);
assert.htmlEqual(
target.innerHTML,
`
Bye World
`
);
}
};