I installed @types/jest 29.5.14 with the test runner so TypeScript tests could use Jest matchers. Assertions such as property and containment checks compiled, and the suite passed on the following runs. No matcher type mismatches showed up.
- What worked
- The 29.5.14 types matched Jest 29 and the matchers used in the billing tests. Install was a single dev dependency and needed no extra configuration.