UNPKG

shallow-render

Version:

Shallow rendering test utility for Angular

14 lines (13 loc) 914 B
import { TestSetup } from '../models/test-setup'; export declare const createService: <TService>(setup: TestSetup<TService>) => { instance: TService; inject: { <T>(token: import("@angular/core").ProviderToken<T>, notFoundValue: undefined, options: import("@angular/core").InjectOptions & { optional?: false; }): T; <T>(token: import("@angular/core").ProviderToken<T>, notFoundValue: null | undefined, options: import("@angular/core").InjectOptions): T | null; <T>(token: import("@angular/core").ProviderToken<T>, notFoundValue?: T, options?: import("@angular/core").InjectOptions): T; <T>(token: import("@angular/core").ProviderToken<T>, notFoundValue?: T, flags?: import("@angular/core").InjectFlags): T; <T>(token: import("@angular/core").ProviderToken<T>, notFoundValue: null, flags?: import("@angular/core").InjectFlags): T | null; }; };