@vestra-player/sdk - v1.11.3
    Preparing search index...
    FakePanel: Omit<FakeWindow, "callbacks" | "userClose"> & {
        slot: string;
        component: string;
        locks: Json;
    }

    One mounted panel of the plugin under test (TestHost.mounted, TestHost.panels): a FakeWindow record with its slot, component and interaction locks.

    Type Declaration

    • slot: string

      "bottom", "sidebar", "adjust" or "backdrop".

    • component: string

      The exported component the SDK found in the file.

    • locks: Json

      The last panel.setInteraction(...) locks, null before any.

    One per slot the plugin mounted, kept in TestHost.panels; disposing a panel removes only its own.

    The plugin's adjust panel reports a drag; the test reads the locks it sent. mounted(slot) picks one of the plugin's panels by slot.

    const panel: FakePanel = host.mounted("adjust");
    assert.deepEqual(panel.locks, { focused: false, dragging: true, popupOpen: false });

    1.6.15