ngx-testing-tools
Version:
Makes Angular testing easier
6 lines (5 loc) • 422 B
TypeScript
import { Type } from '@angular/core';
import { ComponentFixture } from '@angular/core/testing';
export declare function findAllComponents<T>(fixture: ComponentFixture<any>, selector: string): T[];
export declare function findAllComponents<T>(fixture: ComponentFixture<any>, directive: Type<T>): T[];
export declare function findAllComponents<T>(fixture: ComponentFixture<any>, selectorOrDirective: string | Type<T>): T[];