Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dc4c22f

Browse files
feat: deprecate change and changeInput in favor of rerender (#371)
1 parent 2006502 commit dc4c22f

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
@@ -64,11 +64,17 @@ export interface RenderResult<ComponentType, WrapperType = ComponentType> extend
6464
>,
6565
) => Promise<void>;
6666
/**
67+
* @deprecated
68+
* Use rerender instead. For more info see {@link https://github.com/testing-library/angular-testing-library/issues/365 GitHub Issue}
69+
*
6770
* @description
6871
* Keeps the current fixture intact and invokes ngOnChanges with the updated properties.
6972
*/
7073
change: (changedProperties: Partial<ComponentType>) => void;
7174
/**
75+
* @deprecated
76+
* Use rerender instead. For more info see {@link https://github.com/testing-library/angular-testing-library/issues/365 GitHub Issue}
77+
*
7278
* @description
7379
* Keeps the current fixture intact, update the @Input properties and invoke ngOnChanges with the updated properties.
7480
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /