failing test for #1598

pull/7738/head
ekhaled 8 years ago committed by Rich Harris
parent cce96b4259
commit f3d94bff21

@ -0,0 +1,22 @@
const data = { foo: null };
export default {
data,
html: '',
test(assert, component, target) {
assert.htmlEqual(target.innerHTML, 'hi there');
data.foo = 'friend';
component.set(data);
assert.htmlEqual(target.innerHTML, 'hi there friend');
data.foo = null;
component.set(data);
assert.htmlEqual(target.innerHTML, 'hi there');
}
};
Loading…
Cancel
Save