Skip to content

Commit 4099b4c

Browse files
test(studio): import commitGsapPositionFromDrag from its actual module
The function was split out into gsapDragPositionCommit.ts in #1605, but the test kept importing it from ./gsapDragCommit, which no longer exports it — yielding 'is not a function' at runtime. Import from the correct module. Inherited main breakage (same fix as #1631/#1635); fixes the Test CI check on this branch independently of merge order. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ffb0445 commit 4099b4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/studio/src/hooks/gsapDragCommit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { describe, expect, it, beforeEach } from "vitest";
22
import type { GsapAnimation } from "@hyperframes/core/gsap-parser";
33
import type { DomEditSelection } from "../components/editor/domEditingTypes";
44
import {
5-
commitGsapPositionFromDrag,
65
commitStaticGsapPosition,
76
commitStaticGsapRotation,
87
parkPlayheadOnKeyframe,
98
type GsapDragCommitCallbacks,
109
} from "./gsapDragCommit";
10+
import { commitGsapPositionFromDrag } from "./gsapDragPositionCommit";
1111
import { usePlayerStore } from "../player/store/playerStore";
1212

1313
// Minimal selection whose element has no drag-baseline attributes (origX/Y = 0).

0 commit comments

Comments
 (0)