export default { html: `
toggle
`, async test({ assert, component, target, window }) { const div = target.querySelector('div'); const event = new window.MouseEvent('some-event'); await div.dispatchEvent(event); assert.htmlEqual(target.innerHTML, `
toggle

hello!

`); await div.dispatchEvent(event); assert.htmlEqual(target.innerHTML, `
toggle
`); } };