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