export default { skip_if_ssr: true, // TODO would be nice to fix this in SSR as well html: `
selected: a
selected: a
`, test({ assert, component, target }) { assert.equal(component.selected, 'a'); const select = target.querySelector('select'); const options = [...target.querySelectorAll('option')]; assert.equal(select.value, 'a'); assert.ok(options[0].selected); } };