export default { html: `
Another first line
This line should be last.
`, async test({ assert, target, window }) { const btn = target.querySelector("button"); const clickEvent = new window.MouseEvent("click"); await btn.dispatchEvent(clickEvent); assert.htmlEqual( target.innerHTML, `First line
This line should be last.
` ); await btn.dispatchEvent(clickEvent); assert.htmlEqual( target.innerHTML, `Another first line
This line should be last.
` ); } };