export default { html: `
b: Hello
`, ssrHtml: `
b: Hello
`, async test({ assert, target, window }) { const input = target.querySelector("input"); const button = target.querySelector("button"); input.value = "Awesome"; await input.dispatchEvent(new window.Event("input")); assert.htmlEqual( target.innerHTML, `
b: Awesome
` ); await button.dispatchEvent(new window.MouseEvent("click")); assert.htmlEqual( target.innerHTML, `
c: World
` ); assert.equal(input.value, 'World'); input.value = "Svelte"; await input.dispatchEvent(new window.Event("input")); assert.htmlEqual( target.innerHTML, `
c: Svelte
` ); } };