From dc4c22fbcbb88034cf45aff67468a1e197755c77 Mon Sep 17 00:00:00 2001 From: Torsten Knauf Date: Thu, 23 Feb 2023 09:25:57 +0100 Subject: [PATCH] feat: deprecate change and changeInput in favor of rerender (#371) --- projects/testing-library/src/lib/models.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/testing-library/src/lib/models.ts b/projects/testing-library/src/lib/models.ts index 0e4b404..17974c6 100644 --- a/projects/testing-library/src/lib/models.ts +++ b/projects/testing-library/src/lib/models.ts @@ -64,11 +64,17 @@ export interface RenderResult extend >, ) => Promise; /** + * @deprecated + * Use rerender instead. For more info see {@link https://github.com/testing-library/angular-testing-library/issues/365 GitHub Issue} + * * @description * Keeps the current fixture intact and invokes ngOnChanges with the updated properties. */ change: (changedProperties: Partial) => void; /** + * @deprecated + * Use rerender instead. For more info see {@link https://github.com/testing-library/angular-testing-library/issues/365 GitHub Issue} + * * @description * Keeps the current fixture intact, update the @Input properties and invoke ngOnChanges with the updated properties. */