chore(build): fix flakiness of the element probe global test
This commit is contained in:
@ -23,5 +23,5 @@ export function enableDebugTools(ref: ComponentRef): void {
|
||||
* Disables Angular 2 tools.
|
||||
*/
|
||||
export function disableDebugTools(): void {
|
||||
context.ng = undefined;
|
||||
delete context.ng;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user