How to replace @types/jest with @jest/globals and jest-mock
I believe that it's always better to prefer official type definitions rather than unofficial...
Tags: jest, typescript