export default { props : { foo : true } , html : 'true' , skip : /^v4/ . test ( process . version ) , skip_if_ssr : true , async test ( { assert , component , target , window } ) { const event = new window . Event ( 'click' ) ; await window . dispatchEvent ( event ) ; assert . equal ( component . foo , false ) ; assert . htmlEqual ( target . innerHTML , 'false' ) ; await window . dispatchEvent ( event ) ; assert . equal ( component . foo , true ) ; assert . htmlEqual ( target . innerHTML , 'true' ) ; } } ;