I have written the following unit test for my Angular 10 component, which basically display a tree view with some interactivity:
import { ComponentFixture, TestBe