In this case, you may want to mock out the map code. As with lodash above, make a file of the same name as the module in the __mocks__ directory ...
確定! 回上一頁