()
| 43 | const render = () => act(() => root.render(<ScreenNodeSeparation nodes={nodes} active onChange={onChange} onBusyChange={onBusyChange} />)); |
| 44 | const frame = (elapsed = 0) => act(() => { now += elapsed; frames.callback?.(); }); |
| 45 | const paint = () => act(() => { |
| 46 | const pending = [...queued.values()]; queued.clear(); |
| 47 | for (const callback of pending) callback(now); |
| 48 | }); |
| 49 | const settle = () => { frame(); frame(120); paint(); paint(); }; |
| 50 | const initialLayout = () => { |
| 51 | scene.camera.position.set(0, 0, 500); scene.camera.lookAt(0, 0, 0); scene.camera.updateMatrixWorld(); |
no outgoing calls
no test coverage detected