Skip to content
Permalink
Browse files

refactor(core): remove deprecated `Testability#findBindings` (#18782)

BREAKING CHANGE: `Testability#findBindings` has been removed as it was deprecated since v4. Use `Testability#findProviders` instead.

PR Close #18782
  • Loading branch information...
ocombe authored and mhevery committed Aug 18, 2017
1 parent d61b902 commit f2a2a6b478e8046c35c8cf8c3701a3a12fa14c17
Showing with 0 additions and 7 deletions.
  1. +0 −6 packages/core/src/testability/testability.ts
  2. +0 −1 tools/public_api_guard/core/core.d.ts
@@ -109,12 +109,6 @@ export class Testability implements PublicTestability {

getPendingRequestCount(): number { return this._pendingCount; }

/** @deprecated use findProviders */
findBindings(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement.
return [];
}

findProviders(using: any, provider: string, exactMatch: boolean): any[] {
// TODO(juliemr): implement.
return [];
@@ -967,7 +967,6 @@ export declare abstract class TemplateRef<C> {
export declare class Testability implements PublicTestability {
constructor(_ngZone: NgZone);
decreasePendingRequestCount(): number;
/** @deprecated */ findBindings(using: any, provider: string, exactMatch: boolean): any[];
findProviders(using: any, provider: string, exactMatch: boolean): any[];
getPendingRequestCount(): number;
increasePendingRequestCount(): number;

0 comments on commit f2a2a6b

Please sign in to comment.
You can’t perform that action at this time.