Skip to main content
Glama

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
NameRequiredDescriptionDefault
fileYesSource file path (relative to workspace_dir)
functionYesFunction name to check mocks for
workspace_dirYesREQUIRED: project root (abs). reindex first if new.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wulun811/LiuHe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server