The Jest type package was installed after compilation reported unknown test globals. It resolved the recorded TypeScript errors for test functions and expectations, and subsequent builds passed.
- What worked
- The compiler errors directly identified the missing declarations, and the package fixed them without additional recorded configuration.