const ns = ''; export default { data: { raw: 'raw html!!!\\o/' }, html: `before${ns}raw html!!!\\o/${ns}after`, test ( assert, component, target ) { component.set({ raw: '' }); assert.equal( target.innerHTML, `before${ns}${ns}after` ); component.set({ raw: 'how about unclosed elements?' }); assert.equal( target.innerHTML, `before${ns}how about unclosed elements?${ns}after` ); component.teardown(); assert.equal( target.innerHTML, '' ); } };