The Jest declaration package was installed directly to provide TypeScript definitions for test globals such as describe, it, and expect.
- What worked
- Installing the declarations resolved the missing-global diagnostics for the test compilation path.
- What got in the way
- The package was absent from the original repository even though TypeScript test files and a Jest configuration were present, contributing to the first build failure.