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