Static methods implemented by the TestBed.
TestBed
interface TestBedStatic extends TestBed { override readonly platform: PlatformRef; override readonly ngModule: Type<any> | Type<any>[]; override initTestEnvironment(ngModule: Type<any> | Type<any>[], platform: PlatformRef, options?: TestEnvironmentOptions | undefined): void; override resetTestEnvironment(): void; override resetTestingModule(): TestBed; override configureCompiler(config: { providers?: any[] | undefined; useJit?: boolean | undefined; }): void; override configureTestingModule(moduleDef: TestModuleMetadata): TestBed; override compileComponents(): Promise<any>; override inject<T>(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false | undefined; }): T; override inject<T>(token: ProviderToken<T>, notFoundValue: null | undefined, options: InjectOptions): T | null; override inject<T>(token: ProviderToken<T>, notFoundValue?: T | undefined, options?: InjectOptions | undefined): T; override inject<T>(token: ProviderToken<T>, notFoundValue?: T | undefined, flags?: InjectFlags | undefined): T; override inject<T>(token: ProviderToken<T>, notFoundValue: null, flags?: InjectFlags | undefined): T | null; override get<T>(token: ProviderToken<T>, notFoundValue?: T | undefined, flags?: InjectFlags | undefined): any; override get(token: any, notFoundValue?: any): any; override runInInjectionContext<T>(fn: () => T): T; override execute(tokens: any[], fn: Function, context?: any): any; override overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): TestBed; override overrideComponent(component: Type<any>, override: MetadataOverride<Component>): TestBed; override overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): TestBed; override overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): TestBed; override overrideTemplate(component: Type<any>, template: string): TestBed; override overrideProvider(token: any, provider: { useFactory: Function; deps: any[]; multi?: boolean | undefined; }): TestBed; override overrideProvider(token: any, provider: { useValue: any; multi?: boolean | undefined; }): TestBed; override overrideProvider(token: any, provider: { useFactory?: Function | undefined; useValue?: any; deps?: any[] | undefined; multi?: boolean | undefined; }): TestBed; override overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed; override createComponent<T>(component: Type<T>): ComponentFixture<T>; override flushEffects(): void;}