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

14 lines
300 B

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