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/generator/onrender-chain/_config.js

18 lines
319 B

export default {
'skip-ssr': true,
html: `
<span>3</span><span>2</span><span>1</span>
`,
test ( assert, component, target ) {
component.refs.list.update();
assert.htmlEqual( target.innerHTML, `
<span>1</span><span>2</span><span>3</span><span>4</span><span>5</span>
` );
component.teardown();
}
};