chore(build): fix flakiness of the element probe global test

This commit is contained in:
mlaval
2015-11-26 19:38:14 +01:00
committed by Jeremy Elbourn
parent 62c2ed7c43
commit fb16c39496
4 changed files with 4 additions and 4 deletions

View File

@ -23,5 +23,5 @@ export function enableDebugTools(ref: ComponentRef): void {
* Disables Angular 2 tools.
*/
export function disableDebugTools(): void {
context.ng = undefined;
delete context.ng;
}

View File

@ -72,4 +72,4 @@ export const ELEMENT_PROBE_PROVIDERS: any[] = CONST_EXPR([
CONST_EXPR(new Provider(AppViewListener, {useExisting: DebugElementViewListener})),
]);
export const ELEMENT_PROBE_BINDINGS = ELEMENT_PROBE_PROVIDERS;
export const ELEMENT_PROBE_BINDINGS = ELEMENT_PROBE_PROVIDERS;