In a create-react-app, you'll want to mock node modules within the src/__mocks__ folder. (you may also use the yarn equivalent command): npm install ...
確定! 回上一頁