You must call jest.mock at the top level of the module and for mocking ES6 modules with a default export you should use __esModule: true
確定! 回上一頁