refactor(ngProbe): rename to ng.probe
BREAKING CHANGE: Closes #3786 - ngProbe => ng.probe
This commit is contained in:

committed by
Miško Hevery

parent
cebd670a8e
commit
4415855683
@ -68,7 +68,7 @@ export function main() {
|
||||
tcb.overrideTemplate(MyComp, '')
|
||||
.createAsync(MyComp)
|
||||
.then((rootTestComponent) => {
|
||||
expect(global['ngProbe'](rootTestComponent.nativeElement).componentInstance)
|
||||
expect(global['ng']['probe'](rootTestComponent.nativeElement).componentInstance)
|
||||
.toBeAnInstanceOf(MyComp);
|
||||
|
||||
async.done();
|
||||
|
Reference in New Issue
Block a user