@types/jest v29 declares the jest namespace without a global value; reference it explicitly and re-add the global used by setup/test files.