pull/1864/head
Rich Harris 7 years ago
parent eb6f7c392c
commit aceb3b7b20

@ -3,7 +3,7 @@ export default {
test(assert, component, target) {
component.y = 2;
assert.equal(component.x, 4);
assert.equal(component.x(), 4);
assert.equal(target.innerHTML, '<p>4</p>');
}
};

@ -12,7 +12,7 @@
return getX;
}
function x() {
export function x() {
return xGetter()();
}
</script>

Loading…
Cancel
Save