Skip to content

comment about --test-only if only is set to false #54052

@UziTech

Description

@UziTech

Version

22.5.1

Platform

Microsoft Windows NT 10.0.22631.0 x64

Subsystem

test runner

What steps will reproduce the bug?

see https://github.com/UziTech/node-test-only-false

  1. create a test with { only: false } option
  2. run test with node test runner

How often does it reproduce? Is there a required condition?

100%

What is the expected behavior? Why is that the expected behavior?

The comment 'only' and 'runOnly' require the --test-only command-line option. should not be displayed if no tests have only set to true.

What do you see instead?

comment 'only' and 'runOnly' require the --test-only command-line option. is displayed for tests that specify { only: false }

Additional information

A minimal repo is at https://github.com/UziTech/node-test-only-false

Metadata

Metadata

Assignees

No one assigned

    Labels

    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