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

15 lines
219 B

export default {
html: `
<p>1 + 2 = 3</p>
<p>3 * 3 = 9</p>
`,
test({ assert, component, target }) {
component.a = 3;
assert.htmlEqual(target.innerHTML, `
<p>3 + 2 = 5</p>
<p>5 * 5 = 25</p>
`);
}
};