(id: string)
| 26 | }); |
| 27 | afterEach(async () => { await act(async () => root.unmount()); container.remove(); vi.restoreAllMocks(); vi.unstubAllGlobals(); }); |
| 28 | const state = (id: string) => container.querySelector(`[data-testid="${id}"]`)?.textContent; |
| 29 | async function render() { await act(async () => root.render(<><GraphEdgeControls /><Probe id="first" /><Probe id="second" /><Probe id="inactive" active={false} /></>)); } |
| 30 | |
| 31 | describe('global edge motion preference', () => { |