export default {
props: {
name: 'world'
},
html: '
Hello world!
',
test({ assert, component, target }) {
component.name = 'everybody';
assert.htmlEqual(target.innerHTML, 'Hello everybody!
');
component.$destroy();
assert.htmlEqual(target.innerHTML, '');
}
};