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/nested-transition-detach-if.../_config.js

25 lines
324 B

export default {
html: `
<li>
<span>a</span>
<ul>
<li>
<span>a/b</span>
<ul>
<li>a/b/c</li>
</ul>
</li>
</ul>
</li>
`,
test({ assert, component, target }) {
component.folder.open = false;
assert.htmlEqual(target.innerHTML, `
<li>
<span>a</span>
</li>
`);
},
};