testing-library / angular-testing-library

🐙 Simple and complete Angular testing utilities that encourage good testing practices

Home Page:https://testing-library.com/angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overload to `rerender` to keep existing Input values when not provided

timdeschryver opened this issue · comments

This is coming from #365 (comment)

It raises the question if rerender needs to clear the values of input properties that are not provided.
I think it should (similar APIs with other Testing Libraries), but based on the comments I think it would be nice to have an overload to alter this behavior. While helps with the transition to the new version, I think it also helps to improve the DX.