import { writable } from 'svelte/store'; export default { skip: true, get props() { return { things: [writable('a'), writable('b'), writable('c')] }; }, html: ` `, async test({ assert, component, target, window }) { const buttons = target.querySelectorAll('button'); const click = new window.MouseEvent('click'); await buttons[1].dispatchEvent(click); assert.htmlEqual( target.innerHTML, ` ` ); await component.things[1].set('d'); assert.htmlEqual( target.innerHTML, ` ` ); } };