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

18 lines
196 B

export default {
props: {
x: 42
},
html: `
<p>42 42</p>
`,
test({ assert, component, target }) {
component.x = 43;
assert.htmlEqual(target.innerHTML, `
<p>43 43</p>
`);
}
};