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/component-binding-condition.../_config.js

25 lines
641 B

export default {
'skip-ssr': true, // TODO delete this line, once binding works
// This test fails, because the Bar y binding is activated before the
// Baz x binding, meaning that by the time Foo is created, we already
// have a value for y which Foo won't override. Easily worked around,
// probably impossible to 'fix', so this test is left here for info
// purposes but will probably remain skipped indefinitely.
skip: true,
html: `
<p>y: foo</p>
<p>y: foo</p>
`,
test ( assert, component, target ) {
component.set({ x: false });
assert.htmlEqual( target.innerHTML, `
<p>y: foo</p>
<p>y: foo</p>
` );
}
};