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

21 lines
260 B

export default {
'skip-ssr': true,
data: {
foo: 'woo!'
},
html: `
<p>woo!</p>
<p>WOO!</p>
`,
test(assert, component, target) {
component.set({ foo: 'yeah!' });
assert.htmlEqual(target.innerHTML, `
<p>yeah!</p>
<p>YEAH!</p>
`);
}
};