import { describe, expect, it } from "vitest";
import {
  renderControlsPanel
} from "../testing/controls-panel-test-utils";

describe("ControlsPanel floating panel shell", () => {
  it("uses the shared panel host when rendered as a floating panel", () => {
    const { container } = renderControlsPanel({ panelPlacement: "floating" });

    expect(container.querySelector('[data-panel-type="controls"]')).toBeTruthy();
    expect(container.querySelector('[data-snap-edges="left right"]')).toBeTruthy();
  });
});
