Skip to content

Commit dc4c22f

Browse files
author
Torsten Knauf
authored
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

+6
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)