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