Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

482 B
Raw Blame
import { describe, expect, it } from "vitest";
import { hasRoomForRestingEase } from "./TimelineDiamondConnectors";

describe("hasRoomForRestingEase", () => {
  it("is false just under the threshold", () => {
    expect(hasRoomForRestingEase(23)).toBe(false);
  });

  it("is true exactly at the threshold", () => {
    expect(hasRoomForRestingEase(24)).toBe(true);
  });

  it("is true well above the threshold", () => {
    expect(hasRoomForRestingEase(78)).toBe(true);
  });
});