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:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user