feat(ChangeDetector): change View to construct a WatchGroup hierarchy

This commit is contained in:
vsavkin
2014-11-17 17:22:45 -08:00
parent 384f0ae858
commit f0d6464856
4 changed files with 19 additions and 15 deletions

View File

@ -74,10 +74,6 @@ export function main() {
cd.detectChanges();
// TODO(rado): this should be removed once watchgroups addChild is implemented.
var childWatchGroup = view.childViews[0].watchGroup;
new ChangeDetector(childWatchGroup).detectChanges();
expect(view.nodes[0].shadowRoot.childNodes[0].nodeValue).toEqual('hello');
done();
});