@testing-library/angular
Advanced tools
Comparing version 15.1.0 to 15.2.0
{ | ||
"name": "@testing-library/angular", | ||
"version": "15.1.0", | ||
"version": "15.2.0", | ||
"description": "Test your Angular components with the dom-testing-library", | ||
@@ -5,0 +5,0 @@ "repository": { |
<div align="center"> | ||
<h1>@testing-library/angular</h1> | ||
<a href="https://www.emojione.com/emoji/1f994"> | ||
<img | ||
height="80" | ||
width="80" | ||
alt="hedgehog" | ||
src="https://raw.githubusercontent.com/testing-library/angular-testing-library/main/other/hedgehog.png" | ||
/> | ||
</a> | ||
<img | ||
height="80" | ||
width="80" | ||
alt="Octopus with the Angular logo" | ||
src="https://raw.githubusercontent.com/testing-library/angular-testing-library/main/other/logo-icon.svg" | ||
/> | ||
@@ -13,0 +11,0 @@ <p>Simple and complete Angular testing utilities that encourage good testing |
import { Type, DebugElement } from '@angular/core'; | ||
import { ComponentFixture, DeferBlockState, TestBed } from '@angular/core/testing'; | ||
import { ComponentFixture, DeferBlockBehavior, DeferBlockState, TestBed } from '@angular/core/testing'; | ||
import { Routes } from '@angular/router'; | ||
@@ -361,2 +361,6 @@ import { BoundFunction, Queries, queries, Config as dtlConfig, PrettyDOMOptions } from '@testing-library/dom'; | ||
configureTestBed?: (testbed: TestBed) => void; | ||
/** | ||
* @description | ||
* Set the initial state of a deferrable block. | ||
*/ | ||
deferBlockStates?: DeferBlockState | { | ||
@@ -366,2 +370,7 @@ deferBlockState: DeferBlockState; | ||
}[]; | ||
/** | ||
* @description | ||
* Set the defer blocks behavior. | ||
*/ | ||
deferBlockBehavior?: DeferBlockBehavior; | ||
} | ||
@@ -368,0 +377,0 @@ export interface ComponentOverride<T> { |
import { Type } from '@angular/core'; | ||
import { waitForOptions as dtlWaitForOptions, queries as dtlQueries } from '@testing-library/dom'; | ||
import type { Queries, BoundFunctions } from '@testing-library/dom'; | ||
import { RenderComponentOptions, RenderTemplateOptions, RenderResult } from './models'; | ||
import type { BoundFunctions, Queries } from '@testing-library/dom'; | ||
import { queries as dtlQueries, waitForOptions as dtlWaitForOptions } from '@testing-library/dom'; | ||
import { RenderComponentOptions, RenderResult, RenderTemplateOptions } from './models'; | ||
import * as i0 from "@angular/core"; | ||
@@ -6,0 +6,0 @@ export declare function render<ComponentType>(component: Type<ComponentType>, renderOptions?: RenderComponentOptions<ComponentType>): Promise<RenderResult<ComponentType, ComponentType>>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
210490
1560
353