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