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

21 lines
210 B

export default {
props: {
a: 1,
b: 2,
c: 3,
d: 4
},
html: `
<p>4</p>
`,
test({ assert, component, target }) {
component.d = 5;
assert.htmlEqual(target.innerHTML, `
<p>5</p>
`);
}
};