@orchestrator/ngx-testing
Version:
Testing utilities for Angular projects
7 lines (6 loc) • 451 B
TypeScript
import { ModuleWithProviders, Type } from '@angular/core';
import { TestingComponentModuleExtras, TestingDirectiveModuleExtras } from './types';
export declare class NgxTestingModule<T = any> {
static forComponent<T>(compType: Type<T>, extras?: TestingComponentModuleExtras): ModuleWithProviders<NgxTestingModule<T>>;
static forDirective<T>(dirType: Type<T>, extras?: TestingDirectiveModuleExtras): ModuleWithProviders<NgxTestingModule<T>>;
}