import { describe, it, expect } from "vitest";
import { GanttChart, toGanttTask, toGanttTasks } from "./index";

describe("Gantt module exports", (): void => {
  it("should export GanttChart component", (): void => {
    expect(GanttChart).toBeDefined();
    expect(typeof GanttChart).toBe("function");
  });

  it("should export toGanttTask helper", (): void => {
    expect(toGanttTask).toBeDefined();
    expect(typeof toGanttTask).toBe("function");
  });

  it("should export toGanttTasks helper", (): void => {
    expect(toGanttTasks).toBeDefined();
    expect(typeof toGanttTasks).toBe("function");
  });
});
