Liferay.Loader.define("@liferay/object-web@1.0.181/js/tests/FoldersListSidebar",["module","exports","require","@liferay!object-web$testing-library/jest-dom/extend-expect","@liferay!object-web$testing-library/react","liferay!frontend-js-react-web$react","../components/ViewObjectDefinitions/FoldersListSidebar"],(function(e,t,r){window;{r("@liferay!object-web$testing-library/jest-dom/extend-expect");var i=r("@liferay!object-web$testing-library/react"),n=_interopRequireDefault(r("liferay!frontend-js-react-web$react")),o=_interopRequireDefault(r("../components/ViewObjectDefinitions/FoldersListSidebar"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e={actions:{},dateCreated:"2023-08-07T14:42:21Z",dateModified:"2023-08-07T14:42:21Z",externalReferenceCode:"uncategorized",id:1010,label:{en_US:"Uncategorized"},name:"Uncategorized"},t={actions:{},dateCreated:"2023-08-07T14:45:00Z",dateModified:"2023-08-07T14:45:00Z",externalReferenceCode:"ticketERC",id:2020,label:{en_US:"Ticket System"},name:"TicketName"};describe("The FoldersListSidebar component should",(()=>{it("render all the folders created",(()=>{(0,i.render)(n.default.createElement(o.default,{foldersList:[e,t],selectedFolder:e,setSelectedFolder:()=>{},setShowModal:()=>{}})),expect(i.screen.getAllByRole("listitem")).toHaveLength(2),expect(i.screen.getByText("Uncategorized")).toBeInTheDocument(),expect(i.screen.getByText("Ticket System")).toBeInTheDocument()}))}))}}));
//# sourceMappingURL=FoldersListSidebar.js.map