Skip to content

jest invocations in --format args #25

Description

@itaywol

crates/cli/src/format.rs emits vitest commands for ts. Some repos use jest; both accept -t patterns but the binary differs. Idea: detect the runner (jest vs vitest in package.json devDependencies, cached at index time or checked at format time) and emit the matching binary. Tests live in format.rs unit tests plus one select.rs e2e.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions