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/destructuring-assignment-array/_config.js

23 lines
359 B

export default {
html: `
<ul>
<li>Gruyere</li>
<li>Compté</li>
<li>Beaufort</li>
<li>Abondance</li>
</ul>
`,
async test({ assert, component, target }) {
await component.swap(0, 1);
assert.htmlEqual(target.innerHTML, `
<ul>
<li>Compté</li>
<li>Gruyere</li>
<li>Beaufort</li>
<li>Abondance</li>
</ul>
`);
}
};