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

12 lines
168 B

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