failing test for #1598

pull/1627/head
ekhaled 6 years ago committed by Rich Harris
parent 814a32357f
commit 7042f5d2cb

@ -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