export default {
props: {
disabled: false
},
html: '',
test({ assert, component, target }) {
const button = target.querySelector('button');
assert.equal(button.disabled, false);
component.disabled = true;
assert.htmlEqual(target.innerHTML, '');
assert.equal(button.disabled, true);
}
};