()
| 4260 | const fixture = TestBed.createComponent(TestCmp); |
| 4261 | await fixture.whenStable(); |
| 4262 | const getCheckedStates = () => |
| 4263 | Array.from( |
| 4264 | (fixture.nativeElement as HTMLElement).querySelectorAll<HTMLInputElement>('input'), |
| 4265 | ).map((input) => input.checked); |
| 4266 | |
| 4267 | expect(getCheckedStates()).toEqual([false, true]); |
| 4268 |