refactor: remove various leftover unused or deprecated code (#11091)

This commit is contained in:
Igor Minar
2016-08-26 09:12:27 -07:00
committed by Victor Berchet
parent 0cf5ece7f8
commit 4d7d2a2daa
8 changed files with 1 additions and 84 deletions

View File

@ -112,24 +112,6 @@ export function beforeEachProviders(fn: Function): void {
});
}
/**
* Allows overriding default providers of the test injector,
* which are defined in test_injector.js
*
* @deprecated Use `TestBed.configureTestingModule instead.
*/
export function addProviders(providers: Array<any>): void {
if (!providers) return;
TestBed.configureTestingModule({providers: providers});
}
/**
* @deprecated
*/
export function beforeEachBindings(fn: Function): void {
beforeEachProviders(fn);
}
function _it(jsmFn: Function, name: string, testFn: Function, testTimeOut: number): void {
if (runnerStack.length == 0) {