inferKind
Function: inferKind()
inferKind(
ctx):MockKind
Defined in: engine/infer.ts:49
Resolve a mock kind from a field's name (strong signal) or declared type
(weak fallback). Returns null when no rule matches — callers decide
whether to warn, throw, or skip.
Parameters
ctx
the inference context (field name + optional declared type).
Returns
MockKind
the inferred MockKind, or null when no rule matches.