change test outcome for uninitialised component bindings inside conditionals

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

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

Loading…
Cancel
Save