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

17 lines
226 B

export default {
props: {
x: 1
},
html: `
<pre>{"x":1}</pre>
`,
async test({ assert, component, target }) {
await component.$set({ x: 2 });
assert.htmlEqual(target.innerHTML, `
<pre>{"x":2}</pre>
`);
}
};