()
| 169 | it('never paints old symbol findings beneath a new symbol label before effects clear state', async () => { |
| 170 | const captures: string[] = []; |
| 171 | function BeforeEffects(): null { |
| 172 | useLayoutEffect(() => { captures.push(container.textContent ?? ''); }); |
| 173 | return null; |
| 174 | } |
| 175 | const load = vi.fn().mockResolvedValueOnce(fixture()) |
| 176 | .mockImplementationOnce(() => new Promise<SelectionImpactReply>(() => {})); |
| 177 | await act(async () => root.render(<><SelectionImpactWidget project="fixture" |