export default { html: `

first:

second:

`, test ( assert, component, target, window ) { const event = new window.MouseEvent( 'click' ); const buttons = target.querySelectorAll( 'button' ); buttons[1].dispatchEvent( event ); assert.htmlEqual( target.innerHTML, `

first: 1

second: bar

` ); assert.equal( component.get( 'first' ), '1' ); assert.equal( component.get( 'second' ), 'bar' ); component.destroy(); } };