From 47f3e363ccfed828015ff7013dc6d37ce791d2c9 Mon Sep 17 00:00:00 2001 From: shaman-apprentice Date: Wed, 22 Feb 2023 23:33:36 +0100 Subject: [PATCH] docs: hint to use rerender instead ref #365 --- 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. */