Skip to content

Commit 2c11205

Browse files
committed
chore(testbed): migrate compiler integration spec to testcomponentbuilder
Part of angular#2354
1 parent d800d2f commit 2c11205

File tree

2 files changed

+718
-681
lines changed

2 files changed

+718
-681
lines changed

modules/angular2/src/debug/debug_element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ export class DebugElement {
8787
return this._elementInjector.get(type);
8888
}
8989

90+
getLocal(name: string): any { return this._parentView.locals.get(name); }
91+
9092
/**
9193
* Return the first descendant TestElememt matching the given predicate
9294
* and scope.

0 commit comments

Comments
 (0)