I have created a mock file for mangopay2-nodejs-sdk in order to simulate payment failure for my Jest tests:
import Base