MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / element

Function element

packages/studio/src/utils/timelineElementSplit.test.ts:10–19  ·  view source on GitHub ↗
(overrides: Partial<TimelineElement> = {})

Source from the content-addressed store, hash-verified

8} from "./timelineElementSplit";
9
10function element(overrides: Partial<TimelineElement> = {}): TimelineElement {
11 return {
12 id: "el-1",
13 tag: "div",
14 start: 1,
15 duration: 4,
16 track: 0,
17 ...overrides,
18 };
19}
20
21describe("isSplitTimeWithinBounds", () => {
22 const start = 1;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected