import * as __WEBPACK_EXTERNAL_MODULE__testing_library_react__ from "@testing-library/react";
import * as __WEBPACK_EXTERNAL_MODULE__Breadcrumbs_mjs__ from "./Breadcrumbs.mjs";
import * as __WEBPACK_EXTERNAL_MODULE_react_router_dom__ from "react-router-dom";
describe('Breadcrumbs', ()=>{
    test('should render breadcrumb items', ()=>{
        (0, __WEBPACK_EXTERNAL_MODULE__testing_library_react__.render)(/*#__PURE__*/ React.createElement(__WEBPACK_EXTERNAL_MODULE_react_router_dom__.BrowserRouter, null, /*#__PURE__*/ React.createElement(__WEBPACK_EXTERNAL_MODULE__Breadcrumbs_mjs__["default"], {
            items: [
                {
                    name: 'production',
                    to: '/namespaces/1'
                },
                {
                    name: 'demo-cluster',
                    to: '/clusters/1'
                }
            ]
        })));
        const breadcrumb1 = __WEBPACK_EXTERNAL_MODULE__testing_library_react__.screen.queryByText('production');
        const breadcrumb2 = __WEBPACK_EXTERNAL_MODULE__testing_library_react__.screen.queryByText('demo-cluster');
        expect(breadcrumb1).toBeVisible();
        expect(breadcrumb2).toBeVisible();
    });
});
