UNPKG

ngx-testing-tools

Version:
13 lines (12 loc) 863 B
import { HttpInterceptorFn } from '@angular/common/http'; import { Type } from '@angular/core'; import { BaseTestBedFactory } from '../common/test-beds/base/base-test-bed-factory'; import { InjectionStore } from '../common/tools/store/models/injected-store.model'; import { InterceptorTestBedOptions } from './models'; import { InterceptorProxy } from './proxy/interceptor-proxy'; import { InterceptorTools } from './tools'; export declare class InterceptorTestBedFactory<InterceptorType, Store extends InjectionStore = InjectionStore> extends BaseTestBedFactory<InterceptorProxy, Store, InterceptorTools<InterceptorType, Store['injected']>> { constructor(rootInterceptor: Type<InterceptorType> | HttpInterceptorFn, options: InterceptorTestBedOptions); protected deferredTools: () => InterceptorTools<InterceptorType, {}>; compile(): Promise<void>; }