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): void; override resetTestEnvironment(): void; override resetTestingModule(): TestBed; override configureCompiler(config: { providers?: any[]; useJit?: boolean; }): void; override configureTestingModule(moduleDef: TestModuleMetadata): TestBed; override compileComponents(): Promise<any>; override inject<T>(token: ProviderToken<T>, notFoundValue: undefined, options: InjectOptions & { optional?: false; }): T; override inject<T>(token: ProviderToken<T>, notFoundValue: null, options: InjectOptions): T; override inject<T>(token: ProviderToken<T>, notFoundValue?: T, options?: InjectOptions): T; override inject<T>(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): T; override inject<T>(token: ProviderToken<T>, notFoundValue: null, flags?: InjectFlags): T; override get<T>(token: ProviderToken<T>, notFoundValue?: T, flags?: InjectFlags): 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; }): TestBed; override overrideProvider(token: any, provider: { useValue: any; multi?: boolean; }): TestBed; override overrideProvider(token: any, provider: { useFactory?: Function; useValue?: any; deps?: any[]; multi?: boolean; }): TestBed; override overrideTemplateUsingTestingModule(component: Type<any>, template: string): TestBed; override createComponent<T>(component: Type<T>): ComponentFixture<T>; override flushEffects(): void;}