import { beVisible, html, notBeVisible, notHaveAttribute, test } from '../../utils' test('x-if', html`
`, ({ get }) => { get('h1').should(notBeVisible()) get('button').click() get('h1').should(beVisible()) get('button').click() get('h1').should(notBeVisible()) } )