import { Store } from '../../../../store.js'; const store = new Store({ selectedIndex: 0, items: [{ title: 'One' }, { title: 'Two' }] }); export default { store, html: `

One

`, test(assert, component, target, window) { store.set({ selectedIndex: 2, items: [{ title: 'One' }, { title: 'Two' }, { title: 'Three' }]}); assert.htmlEqual(target.innerHTML, `

Three

`); } };