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/spread-component-side-effects/_config.js

20 lines
277 B

export default {
props: {},
html: `
<div><p>i: 1</p>
<p>foo: foo</p>
<p>qux: named</p>
`,
test({ assert, component, target }) {
component.foo = 'lol';
assert.htmlEqual(target.innerHTML, `
<div><p>i: 2</p>
<p>foo: lol</p>
<p>qux: named</p>
`);
}
};