Liferay.Loader.define("@liferay/analytics-settings-web@5.0.51/js/components/__tests__/BasePage.spec",["module","exports","require","@liferay!analytics-settings-web$testing-library/jest-dom/extend-expect","@liferay!analytics-settings-web$testing-library/react","liferay!frontend-js-react-web$react","../BasePage"],(function(e,t,n){window;{n("@liferay!analytics-settings-web$testing-library/jest-dom/extend-expect");var a=n("@liferay!analytics-settings-web$testing-library/react"),r=_interopRequireDefault(n("liferay!frontend-js-react-web$react")),i=_interopRequireDefault(n("../BasePage"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ChildComponent=()=>r.default.createElement("p",null,"I am a child component"),FooterChildComponent=()=>r.default.createElement("p",null,"I am a footer child component");describe("BasePage",(()=>{it("renders BasePage component without crashing",(()=>{(0,a.render)(r.default.createElement(i.default,{description:"test description",title:"test title"},r.default.createElement(ChildComponent,null))),expect(a.screen.getByText(/test title/i)).toBeInTheDocument(),expect(a.screen.getByText(/test description/i)).toBeInTheDocument(),expect(a.screen.getByText(/I am a child component/i)).toBeInTheDocument()})),it("renders BasePageFooter component without crashing",(()=>{(0,a.render)(r.default.createElement(i.default.Footer,null,r.default.createElement(FooterChildComponent,null))),expect(a.screen.getByText(/I am a footer child component/i)).toBeInTheDocument()}))}))}}));
//# sourceMappingURL=BasePage.spec.js.map