change test outcome for uninitialised component bindings inside conditionals

pull/1137/head
Rich Harris 7 years ago
parent d411a82a32
commit 2d0f01e49d

@ -2,16 +2,16 @@ export default {
'skip-ssr': true, // TODO delete this line, once binding works
html: `
<p>y: foo</p>
<p>y: foo</p>
<p>y: bar</p>
<p>y: bar</p>
`,
test ( assert, component, target ) {
component.set({ x: false });
assert.htmlEqual( target.innerHTML, `
<p>y: foo</p>
<p>y: foo</p>
<p>y: bar</p>
<p>y: bar</p>
` );
}
};

Loading…
Cancel
Save