Another approach is to mock a specific module. To do it, use jest.mock(module name) . You can optionally provide a function to customize the ...
確定! 回上一頁