export default {
html: `
`,
ssrHtml: `
`,
async test({ assert, component, target, window }) {
const inputs = [ ...target.querySelectorAll('input') ];
const event = new window.Event('change');
inputs[1].checked = true;
await inputs[1].dispatchEvent(event);
await component.clear();
assert.htmlEqual(target.innerHTML, `
`);
inputs[1].checked = true;
await inputs[1].dispatchEvent(event);
await component.clear();
assert.htmlEqual(target.innerHTML, `
`);
}
};