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/store-auto-subscribe-in-rea.../_config.js

16 lines
271 B

export default {
html: `
<div>Hello World</div>
<div>Hello World</div>
`,
async test({ assert, component, target }) {
await component.update_value('Hi Svelte');
assert.htmlEqual(target.innerHTML, `
<div>Hi Svelte</div>
<div>Hi Svelte</div>
`);
}
};