fix: correct clip in-point edit test for EDIT_TOLERANCE

markInPoint(5) is outside the clip (10-20) with 0.5s tolerance.
Use markInPoint(12) which is inside the clip and triggers the edit path.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-22 13:33:01 -04:00
parent d85fbdac05
commit 30b04b42d4

View File

@@ -62,8 +62,8 @@ describe('clip store', () => {
const id = getClips()[0].id;
selectClip(id);
markInPoint(5);
expect(getClips()[0].startTime).toBe(5);
markInPoint(12);
expect(getClips()[0].startTime).toBe(12);
expect(getPendingInPoint()).toBeNull();
});