Skip to content

Feature request: A way to mock module, require #5290

@qfox

Description

@qfox

There is a commit in [email protected] that modified behaviour of require: #1801

I understand that this is a major release but some of very handy modules doesn't work now.

For me it looks like we need some legal way (public API) for mocking module, require, and so on.

I guess I can make a PR if you point me.

Related #4190

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.moduleIssues and PRs related to the module subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions