Skip to content

Run tests when test file is saved #664

@joshua-clarify

Description

@joshua-clarify

Clear and concise description of the problem

Support running tests on save

Suggested solution

The equivalent of this config from vscode-jest

"jest.runMode": {
  "type": "on-save",
  "testFileOnly": true,
}

I think this is a good balance of performance vs convenience.

Even better is if it runs corresponding tests
i.e. saving src/utils.ts run src/utils.test.ts

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions