@terminus/ngx-tools
Version:
[![CircleCI][circle-badge]][circle-link] [![codecov][codecov-badge]][codecov-project] [![semantic-release][semantic-release-badge]][semantic-release] [![MIT License][license-image]][license-url] <br> [![NPM version][npm-version-image]][npm-url] [![Github
16 lines (15 loc) • 427 B
TypeScript
import { ComponentFixture } from '@angular/core/testing';
/**
* Reusable expect statement to check for the nativeElement
*
* NOTE: This helper only accesses the 1st-level child within a component.
*
* @param fixture - The test fixture
* @returns expect statement
*
* @example
* test('My test', () => {
* expectNativeEl(myEl);
* });
*/
export declare function expectNativeEl<T>(fixture: ComponentFixture<T>): any;