import { haveText, html, test } from '../../utils' test('$dispatch dispatches events properly', html`
`, ({ get }) => { get('span').should(haveText('bar')) get('button').click() get('span').should(haveText('baz')) } )