mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-12 20:47:30 +00:00
test(studio): assert elementId on focusedEaseSegment in the segment-focus test
This commit is contained in:
@@ -95,6 +95,7 @@ describe("useTimelineKeyframeHandlers", () => {
|
||||
expect(usePlayerStore.getState().focusedEaseSegment).toEqual({
|
||||
animationId: "position-tween",
|
||||
tweenPercentage: 100,
|
||||
elementId: ELEMENT.id,
|
||||
});
|
||||
expect(setSelectedElementId).toHaveBeenCalledWith(ELEMENT.id);
|
||||
expect(onSelectElement).toHaveBeenCalledWith(ELEMENT);
|
||||
|
||||
Reference in New Issue
Block a user