export default { html : `
		<editor contenteditable="true"><b>world</b></editor>
		<p>hello <b>world</b></p>
	` , ssrHtml : `
		<editor contenteditable="true"><b>world</b></editor>
		<p>hello undefined</p>
	` , async test ( { assert , component , target , window } ) { assert . equal ( component . name , '<b>world</b>' ) ; const el = target . querySelector ( 'editor' ) ; el . innerHTML = 'every<span>body</span>' ; assert . htmlEqual ( target . innerHTML , `
			<editor contenteditable="true">every<span>body</span></editor>
			<p>hello <b>world</b></p>
		` ) ; const event = new window . Event ( 'input' ) ; await el . dispatchEvent ( event ) ; assert . htmlEqual ( target . innerHTML , `
			<editor contenteditable="true">every<span>body</span></editor>
			<p>hello every<span>body</span></p>
		` ) ; component . name = 'good<span>bye</span>' ; assert . equal ( el . innerHTML , 'good<span>bye</span>' ) ; assert . htmlEqual ( target . innerHTML , `
			<editor contenteditable="true">good<span>bye</span></editor>
			<p>hello good<span>bye</span></p>
		` ) ; } } ;