Fix next/jest
when testing next/future/image
#38569
Merged
next/jest
when testing next/future/image
#38569