global.console.log = jest.fn() describe("Unit tests for my ... An alternative (better) approach is to use jest's spyOn functionality.
確定! 回上一頁