Testing with Jest. Create a simple mock for the svgr loader and map this in the jest config: 1. Create a mock file. Create a mock file __mocks__/svgrMock.js ...
確定! 回上一頁