export default {
skip_if_ssr: true,
props: {
raw: 'raw html!!!\\o/'
},
html: `beforeraw html!!!\\o/after`,
test({ assert, component, target }) {
component.raw = '';
assert.equal(target.innerHTML, `beforeafter`);
component.raw = 'how about unclosed elements?';
assert.equal(target.innerHTML, `beforehow about unclosed elements?after`);
component.$destroy();
assert.equal(target.innerHTML, '');
}
};