test(input): add detach capture release and mouse flick regression tests master
Add two missing test cases to PointerInput and correct a stale JSDoc comment. - Adds 'releases active pointer captures on detach': dispatches a touch pointerdown to register a pointerId in pointerIdToSlot, stubs hasPointerCapture via vi.spyOn, then asserts releasePointerCapture is called with the captured pointerId after detach(). - Adds 'preserves pos and delta on the mouse-release frame': mirrors the existing touch-release flick test for mouse slot 0; verifies that isButtonReleased(BTN_POINTER_A, 0) is true and getDelta(0) is non-zero on the same frame as pointerup. - Fixes pointerDelta JSDoc in BlitTech.ts: replaces "at the start of each frame" with the accurate endFrame() timing (after update/render). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Vaclav Vancura <commit@vancura.dev>