export default { 'skip-ssr': true, // TODO delete this line, once binding works html: `
count: 0
`, test ( assert, component, target, window ) { const click = new window.MouseEvent( 'click' ); const button = target.querySelector( 'button' ); button.dispatchEvent( click ); assert.equal( component.get( 'x' ), 1 ); assert.htmlEqual( target.innerHTML, `count: 1
` ); button.dispatchEvent( click ); assert.equal( component.get( 'x' ), 2 ); assert.htmlEqual( target.innerHTML, `count: 2
` ); } };