Skip to content

Commit

Permalink
chore: use PrettyFormatOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Jun 16, 2021
1 parent 3cded3a commit 0f29ca3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions projects/testing-library/src/lib/models.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Type, DebugElement } from '@angular/core';
import { ComponentFixture } from '@angular/core/testing';
import { Routes } from '@angular/router';
import { BoundFunction, Queries, queries, Config as dtlConfig } from '@testing-library/dom';
import { OptionsReceived } from 'pretty-format';
import { BoundFunction, Queries, queries, Config as dtlConfig, PrettyFormatOptions } from '@testing-library/dom';

export type RenderResultQueries<Q extends Queries = typeof queries> = { [P in keyof Q]: BoundFunction<Q[P]> };
export interface RenderResult<ComponentType, WrapperType = ComponentType> extends RenderResultQueries {
Expand All @@ -23,7 +22,7 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
debug: (
element?: Element | HTMLDocument | (Element | HTMLDocument)[],
maxLength?: number,
options?: OptionsReceived,
options?: PrettyFormatOptions,
) => void;
/**
* @description
Expand Down

0 comments on commit 0f29ca3

Please sign in to comment.