镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Test Runner run() should support env option #60709

Description

@Ethan-Arrowood

What is the problem this feature will solve?

Programmatic configuration of environment variables for test runner.

What is the feature you are proposing to solve the problem?

Add a env option similar to that in spawn or exec

What alternatives have you considered?

My current work around is to just set env variables directly before calling run().

Activity

  1. Ethan-Arrowood commented on Nov 13, 2025

    @Ethan-Arrowood
    ContributorAuthor

    I will contribute this

  2. pmarchini commented on Dec 2, 2025

    @pmarchini
    Member

    Hey @Ethan-Arrowood, we don't usually assign issues 😁
    Any news about the state of the issue? 😀

  3. Ethan-Arrowood commented on Dec 2, 2025

    @Ethan-Arrowood
    ContributorAuthor

    Yeah - I gave it a try a while back but wasn't able to solve it immediately and had more important things to do so its got bumped down my list. Still planning to fix it eventually. Very actively relying on this behavior in my open source work here HarperFast/harper#27

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions