Issue type
Description
As noted here, we currently have very similar Jest set-up code that stubs out Liferay.Util.sub in three locations:
So the task here is provide a reasonable substitute for all that in our default mock environment.
Disclaimer: I haven't analyzed those usages yet to see why we need that repeated stubbing, so before taking on this task, we should actually do that, to make sure the plan proposed in this ticket is actually legitmate.
Issue type
Description
As noted here, we currently have very similar Jest set-up code that stubs out
Liferay.Util.subin three locations:modules/dxp/apps/segments/segments-experiment-web/jest-setup.config.jsmodules/dxp/apps/analytics/analytics-reports-web/jest-setup.config.jsmodules/apps/layout/layout-reports-webtoo.So the task here is provide a reasonable substitute for all that in our default mock environment.
Disclaimer: I haven't analyzed those usages yet to see why we need that repeated stubbing, so before taking on this task, we should actually do that, to make sure the plan proposed in this ticket is actually legitmate.