import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { render, screen } from "@testing-library/react";
import { it } from "vitest";
import { SidebarPanel } from "./sidebar-panel.js";
import { Sidebar, SidebarFooter, SidebarHeader } from "./sidebar.js";
describe("Sidebar Component", () => {
    it("should match snapshot", () => {
        const { asFragment } = render(_jsxs(Sidebar, { maxWidth: "300px", minWidth: "100px", children: [_jsx(SidebarPanel, { children: _jsx(SidebarHeader, {}) }), _jsx(SidebarFooter, {})] }));
        expect(asFragment()).toMatchSnapshot();
    });
    it("should render correctly", () => {
        render(_jsx(Sidebar, { "data-testid": "sidebar", maxWidth: "300px", minWidth: "100px" }));
        expect(screen.getByTestId("sidebar")).toBeInTheDocument();
    });
});
//# sourceMappingURL=sidebar.test.js.map