Mocking TypeScript classes with Jest Just install with npm install and then run : npm run test This is part of the series to become an outstanding JS developer.