Skip to content

Commit 9661f3a

Browse files
committed
docs(RenderResult): add jsdoc comment
1 parent 73b0339 commit 9661f3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ export interface RenderResult extends RenderResultQueries, FireObject, UserEvent
2121
* element: The to be printed HTML element, if not provided it will log the whole component's DOM
2222
*/
2323
debug: (element?: HTMLElement) => void;
24+
/**
25+
* @description
26+
* Trigger a change detection cycle for the component.
27+
*
28+
* For more info see https://angular.io/api/core/testing/ComponentFixture#detectChanges
29+
*/
2430
detectChanges: () => void;
2531
/**
2632
* @description

0 commit comments

Comments
 (0)