UNPKG

shallow-render

Version:

Shallow rendering test utility for Angular

12 lines (11 loc) 647 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; }; };