Skip to content

Support --test-name-pattern in run() #46045

Closed
@connor4312

Description

@connor4312

What is the problem this feature will solve?

Currently, --test-name-pattern can be provided when running tests from the command line, but not when running them via the run() API.

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

Have a new option like namePatterns?: string[] in the options.

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.good first issueIssues that are suitable for first-time contributors.test_runnerIssues and PRs related to the test runner subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions