test: test ops logging for test renderer

This commit is contained in:
Evan You
2018-10-01 16:42:53 -04:00
parent da20a06a78
commit dfc855cd54
5 changed files with 147 additions and 66 deletions

View File

@@ -49,7 +49,9 @@ export function initializeComputed(
{},
{
get(_, key: any) {
return handles[key]()
if (handles.hasOwnProperty(key)) {
return handles[key]()
}
}
// TODO should be readonly
}