16 lines
259 B

export default {
props: {
myClass: 'one two'
},
html: `<div class="one two three"></div>`,
test({ assert, component, target, window }) {
component.myClass = 'one';
assert.htmlEqual(target.innerHTML, `
<div class="one three"></div>
`);
}
};