UNPKG

ngx-testing-tools

Version:
17 lines (16 loc) 875 B
import { BaseTestBedFactory } from '../common/test-beds/base/base-test-bed-factory'; import { InjectionStore } from '../common/tools/store/models/injected-store.model'; import { GuardTestBedOptions } from './models'; import { GuardCan } from './models/guard-can.model'; import { ValidGuard } from './models/valid-guard.model'; import { GuardProxy } from './proxy/guard-proxy'; import { GuardTools } from './tools'; export declare class GuardTestBedFactory<GuardType, Store extends InjectionStore = InjectionStore> extends BaseTestBedFactory<GuardProxy, Store, GuardTools<GuardType, Store['injected']>> { constructor(rootGuard: ValidGuard<GuardType>, options: GuardTestBedOptions & { type?: GuardCan; }); private readonly type; private readonly httpOptions; protected deferredTools: () => GuardTools<GuardType, {}>; compile(): Promise<void>; }