svelte/test/runtime/samples/prop-quoted/_config.js

13 lines
169 B

export default {
props: {
foo: 1
},
html: '1',
async test({ assert, component, target }) {
component.foo = 2;
assert.htmlEqual(target.innerHTML, '2');
}
};