export default {
get props() {
return { showModal: true };
},
html: `
Hello!
`,
async test({ assert, target, window }) {
const button = target.querySelector('button');
const click = new window.MouseEvent('click');
await button.dispatchEvent(click);
assert.htmlEqual(
target.innerHTML,
`
`
);
}
};