export default {
html: `
`,
async test({ assert, target, window }) {
const input = target.querySelector('input');
input.value = 'a';
await input.dispatchEvent(new window.Event('input'));
assert.htmlEqual(
target.innerHTML,
`
Display: a
`
);
input.value = 'abc';
await input.dispatchEvent(new window.Event('input'));
assert.htmlEqual(
target.innerHTML,
`
Display: abc
`
);
}
};