explain_impact
Trace the exact import chain from a changed source file to a test file to explain why the test is affected. Get the step-by-step import path.
Instructions
Finds the exact import chain that connects a changed source file to a test file. Use to answer: why does changing file X cause test Y to be affected? Returns the step-by-step import path from the test to the changed file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_file | Yes | The test file to explain the connection for | |
| changed_file | Yes | The source file that was changed (absolute or relative to project_root) | |
| project_root | Yes | Absolute path to the TypeScript project root (must contain tsconfig.json) |