You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/spread-element-input-bind-g.../_config.js

16 lines
307 B

export default {
props: {
props: {
'data-foo': 'bar'
}
},
html: '<input data-foo="bar" type="radio" value="abc">',
async test({ assert, component, target, window }) {
const input = target.querySelector('input');
assert.equal(input.value, 'abc');
assert.equal(input.__value, 'abc');
}
};