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/before-render-chain/_config.js

25 lines
333 B

export default {
skip_if_ssr: true,
html: `
<span>3</span>
<span>2</span>
<span>1</span>
`,
async test({ assert, component, target }) {
await component.list.update();
assert.htmlEqual(
target.innerHTML,
`
<span>1</span>
<span>2</span>
<span>3</span>
<span>4</span>
<span>5</span>
`
);
}
};