()
| 4287 | const fixture = TestBed.createComponent(TestCmp); |
| 4288 | await fixture.whenStable(); |
| 4289 | const getCheckedStates = () => |
| 4290 | Array.from( |
| 4291 | (fixture.nativeElement as HTMLElement).querySelectorAll<HTMLInputElement>('input'), |
| 4292 | ).map((input) => input.checked); |
| 4293 | |
| 4294 | expect(getCheckedStates()).toEqual([false, true]); |
| 4295 |