Bump jest ^29.5.0 -> ^30.4.2, @types/jest ^29.5.14 -> ^30.0.0, and
ts-jest ^29.4.6 -> ^29.4.11.
@types/jest@30 removes the deprecated `toThrowError` matcher type, so
migrate every `.toThrowError()` assertion to `.toThrow()`.
resolve-check-config and setup-install set `types: ["jest"]`, which
excludes @types/node and the lib references it pulls in. With no explicit
`target`, ts-jest typechecks against the default ES5 lib, so modern
globals like `Object.entries` fail to resolve (TS2550) and the
resolve-check-config suite fails to compile.