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-value-.../_config.js

13 lines
268 B

export default {
async test({ assert, component, target, window }) {
const input = target.querySelector('input');
component.value = undefined;
assert.equal(input.value, 'undefined');
component.value = 'foobar';
assert.equal(input.value, 'foobar');
}
};