mock_sync
Identify mock/patch mismatches after function signature changes, so you can update test references.
Instructions
Detect mock/patch mismatches after signature changes. Pairs rename_symbol.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Source file path (relative to workspace_dir) | |
| function | Yes | Function name to check mocks for | |
| workspace_dir | Yes | REQUIRED: project root (abs). reindex first if new. |