Skip to content

Commit 0f29ca3

Browse files
committed
chore: use PrettyFormatOptions
1 parent 3cded3a commit 0f29ca3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

projects/testing-library/src/lib/models.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { Type, DebugElement } from '@angular/core';
22
import { ComponentFixture } from '@angular/core/testing';
33
import { Routes } from '@angular/router';
4-
import { BoundFunction, Queries, queries, Config as dtlConfig } from '@testing-library/dom';
5-
import { OptionsReceived } from 'pretty-format';
4+
import { BoundFunction, Queries, queries, Config as dtlConfig, PrettyFormatOptions } from '@testing-library/dom';
65

76
export type RenderResultQueries<Q extends Queries = typeof queries> = { [P in keyof Q]: BoundFunction<Q[P]> };
87
export interface RenderResult<ComponentType, WrapperType = ComponentType> extends RenderResultQueries {
@@ -23,7 +22,7 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
2322
debug: (
2423
element?: Element | HTMLDocument | (Element | HTMLDocument)[],
2524
maxLength?: number,
26-
options?: OptionsReceived,
25+
options?: PrettyFormatOptions,
2726
) => void;
2827
/**
2928
* @description

0 commit comments

Comments
 (0)