RootCauseunvalidated
When a test transitively loads a consumer module, the mocked package object has no `newExport`. Tension: `const x = newExport()` evaluates `undefined()` → throws at load. Outcome: Typecheck doesn't catch it because tsc resolves against the *real* package types, not the mock.
15fe5ebd-5621-4bc3-8f97-6f15df21c943
When a test transitively loads a consumer module, the mocked package object has no newExport. Tension: const x = newExport() evaluates undefined() → throws at load. Outcome: Typecheck doesn't catch it because tsc resolves against the real package types, not the mock.