Skip to content

replace proxyquire in tests #3025

@dynst

Description

@dynst

proxyquire hasn't had a release on NPM since 2019 and has no support for modern JavaScript modules/ESM thlorenz/proxyquire#217 (comment).

Node.js has this built-in https://nodejs.org/api/test.html#mockmodulespecifier-options

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low: Not priority right noweffort/hoursEstimated to take one or several hoursexp/intermediatePrior experience is likely helpfulkind/maintenanceWork required to avoid breaking changes or harm to project's status quo

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions