{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/6317","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/6317/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/6317/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/6317/events","html_url":"https://github.com/ant-design/ant-design/issues/6317","id":232775394,"number":6317,"title":"Cannot find module 'enquire.js' from 'slider.js'","user":{"login":"madHEYsia","id":15910703,"avatar_url":"https://avatars1.githubusercontent.com/u/15910703?v=3","gravatar_id":"","url":"https://api.github.com/users/madHEYsia","html_url":"https://github.com/madHEYsia","followers_url":"https://api.github.com/users/madHEYsia/followers","following_url":"https://api.github.com/users/madHEYsia/following{/other_user}","gists_url":"https://api.github.com/users/madHEYsia/gists{/gist_id}","starred_url":"https://api.github.com/users/madHEYsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madHEYsia/subscriptions","organizations_url":"https://api.github.com/users/madHEYsia/orgs","repos_url":"https://api.github.com/users/madHEYsia/repos","events_url":"https://api.github.com/users/madHEYsia/events{/privacy}","received_events_url":"https://api.github.com/users/madHEYsia/received_events","type":"User","site_admin":false},"labels":[{"id":571726996,"url":"https://api.github.com/repos/ant-design/ant-design/labels/Invalid","name":"Invalid","color":"b60205","default":false},{"id":617433505,"url":"https://api.github.com/repos/ant-design/ant-design/labels/Upgrade%20Deps","name":"Upgrade Deps","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-06-01T06:13:07Z","updated_at":"2017-06-01T08:39:54Z","closed_at":"2017-06-01T06:13:07Z","body":"I am using Antd with React, Jest and Enzyme. While testing simple shallow rendering I am getting error \r\n\"Cannot find module 'enquire.js' from 'slider.js'\"\r\n      at Resolver.resolveModule (node_modules\\jest-resolve\\build\\index.js:151:17)\r\n      at Object.<anonymous> (node_modules\\react-slick\\lib\\slider.js:37:38)\r\n      at Object.<anonymous> (node_modules\\react-slick\\lib\\index.js:3:18)\r\n![capture](https://cloud.githubusercontent.com/assets/15910703/26666736/28b66aea-46bf-11e7-8d23-593711f22c3d.JPG)\r\n![capture](https://cloud.githubusercontent.com/assets/15910703/26666774/60139990-46bf-11e7-90e5-3ac580a04583.JPG)\r\n![capture](https://cloud.githubusercontent.com/assets/15910703/26666788/774a3560-46bf-11e7-920e-0916ecd4b78d.JPG)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/305428782","html_url":"https://github.com/ant-design/ant-design/issues/6317#issuecomment-305428782","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/6317","id":305428782,"user":{"login":"ant-design-bot","id":26566442,"avatar_url":"https://avatars3.githubusercontent.com/u/26566442?v=3","gravatar_id":"","url":"https://api.github.com/users/ant-design-bot","html_url":"https://github.com/ant-design-bot","followers_url":"https://api.github.com/users/ant-design-bot/followers","following_url":"https://api.github.com/users/ant-design-bot/following{/other_user}","gists_url":"https://api.github.com/users/ant-design-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-design-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-design-bot/subscriptions","organizations_url":"https://api.github.com/users/ant-design-bot/orgs","repos_url":"https://api.github.com/users/ant-design-bot/repos","events_url":"https://api.github.com/users/ant-design-bot/events{/privacy}","received_events_url":"https://api.github.com/users/ant-design-bot/received_events","type":"User","site_admin":false},"created_at":"2017-06-01T08:39:54Z","updated_at":"2017-06-01T08:39:54Z","body":"\nHello @madHEYsia.\n\n- If you use npm, please try `rm -rf node_modules && npm install` to upgrade all your deps.\n- If you use yarn, you may need `yarn upgrade`.\n\n<img src=\"https://cloud.githubusercontent.com/assets/465125/26667345/4bcc8f10-46d7-11e7-8c72-32a0c68ea7ca.jpg\" width=\"500\" height=\"300\">\n"}}
{"actor":{"display_login":"ant-design-bot"}}