Add unit test for leaving animated child

refactor(animations): add unit test for leaving animated child (#44489)
Add unit test for leaving animated childrefactoradd unit test leaving animated child

Committed by dario-piotrowicz

commit message
refactor(animations): add unit test for leaving animated child (#44489)

add a new unit test to make sure that leaving elements queried via
a parent queried via animateChild are correctly removed
 
note: this tests the fix introduced in PR #44357
 
PR Close #44489

Editor assessment

Add unit test for leaving animated child states the coverage, and the body usefully notes that it tests the fix introduced in a cited pull request. However, the refactor type is inaccurate for a pure test addition when the test type exists, which misfiles the change for readers and tooling. The animations scope is right and the note provides provenance, but the type mismatch caps the communication at acceptable. Using the test type for a pure test addition would have fixed the misfiling; the content itself is otherwise fine.

Browse categories

More refactor examples · Back to search