chore(tests): fix broken linker integration test and fix DebugNode export

Fixes two small issues introduced with pr #6555
This commit is contained in:
Julie Ralph
2016-01-29 13:30:36 -08:00
parent e1bf3d33f8
commit a78dcfa5f3
5 changed files with 33 additions and 4 deletions
@@ -149,7 +149,7 @@ export function main() {
.createAsync(MyComp)
.then((view) => {
view.detectChanges();
var q = view.debugElement.componentViewChildren[0].getLocal('q');
var q = view.debugElement.children[0].getLocal('q');
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);