get_affected_tests_by_branch
Runs git diff from a base branch to HEAD and returns the affected test files, automating the diff step for TypeScript projects.
Instructions
Runs git diff --name-only <base_branch>...HEAD internally and returns affected test files. Use instead of get_affected_tests when you want the server to handle the git diff automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_branch | No | Branch to diff against (default: main) | main |
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) |