export default { html: ` Dirty: false Valid: false `, async test({ assert, target, window }) { const input = target.querySelector('input'); input.value = 'foo'; const inputEvent = new window.InputEvent('input'); await input.dispatchEvent(inputEvent); assert.htmlEqual(target.innerHTML, ` Dirty: true Valid: true `); }, };