Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

jest -t 'some spec' still launches browser contexts for suites where no tests are run #112

@thernstig

Description

@thernstig

The following command jest -t 'some spec' still launches browser contexts for suites where no tests are run. This is unnecessary and bit unfortunate in the case where you run in headful mode.

Imagine you have one very specific test case like it('uploads file in the cool-app') and you run jest -t 'uploads file in the cool-app', but you have multiple test files. Then each test file will launch a browser context and then quickly close it, even though Jest will only execute one test case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions