Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide stub implementation of Liferay.Util.sub for use in Jest tests #519

Open
wincent opened this issue Apr 29, 2021 · 1 comment
Open

Comments

@wincent
Copy link
Contributor

wincent commented Apr 29, 2021

Issue type

  • 馃巵 Feature request

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants