Skip to content

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

Open
@wincent

Description

@wincent

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions