{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/554","labels_url":"https://api.github.com/repos/facebook/jest/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/554/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/554/events","html_url":"https://github.com/facebook/jest/issues/554","id":111873839,"number":554,"title":"Enable jest mocking to work properly with npm3.","user":{"login":"jezen","id":1926747,"avatar_url":"https://avatars.githubusercontent.com/u/1926747?v=3","gravatar_id":"","url":"https://api.github.com/users/jezen","html_url":"https://github.com/jezen","followers_url":"https://api.github.com/users/jezen/followers","following_url":"https://api.github.com/users/jezen/following{/other_user}","gists_url":"https://api.github.com/users/jezen/gists{/gist_id}","starred_url":"https://api.github.com/users/jezen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezen/subscriptions","organizations_url":"https://api.github.com/users/jezen/orgs","repos_url":"https://api.github.com/users/jezen/repos","events_url":"https://api.github.com/users/jezen/events{/privacy}","received_events_url":"https://api.github.com/users/jezen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/jest/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-16T17:17:48Z","updated_at":"2015-11-27T14:02:07Z","closed_at":null,"body":"Seeing this issue. Not sure where to begin with it.\r\n\r\n~~~sh\r\nUsing Jest CLI v0.5.10\r\n FAIL  __tests__/editor/js/views/ElementsPanel/components/Libraries.react.test.js (1.97s)\r\n● LibrariesComponent › it encountered a declaration exception\r\n  - TypeError: /Users/jgt/Sites/app/node_modules/react-addons-test-utils/index.js: /Users/jgt/Sites/app/node_modules/react/lib/ReactTestUtils.js: /Users/jgt/Sites/app/node_modules/react/lib/React.js: /Users/jgt/Sites/app/node_modules/react/lib/ReactDOM.js: /Users/jgt/Sites/app/node_modules/react/lib/ReactDefaultInjection.js: /Users/jgt/Sites/app/node_modules/react/lib/BeforeInputEventPlugin.js: Cannot read property 'topCompositionEnd' of undefined\r\n        at Object.<anonymous> (node_modules/react/lib/BeforeInputEventPlugin.js:65:33)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Object.<anonymous> (node_modules/react/lib/ReactDefaultInjection.js:14:30)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Object.<anonymous> (node_modules/react/lib/ReactDOM.js:18:29)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Object.<anonymous> (node_modules/react/lib/React.js:14:16)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Object.<anonymous> (node_modules/react/lib/ReactTestUtils.js:17:13)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Object.<anonymous> (node_modules/react-addons-test-utils/index.js:1:115)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at Loader.requireModuleOrMock (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:923:17)\r\n        at Suite.<anonymous> (__tests__/editor/js/views/ElementsPanel/components/Libraries.react.test.js:4:19)\r\n        at env.describe_ (evalmachine.<anonymous>:40:25)\r\n        at env.describe (evalmachine.<anonymous>:27:19)\r\n        at Object.<anonymous> (__tests__/editor/js/views/ElementsPanel/components/Libraries.react.test.js:3:1)\r\n        at Object.runContentWithLocalBindings (node_modules/jest-cli/src/lib/utils.js:527:17)\r\n        at Loader._execModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:239:9)\r\n        at Loader.requireModule (node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js:902:12)\r\n        at jasmineTestRunner (node_modules/jest-cli/src/jasmineTestRunner/jasmineTestRunner.js:284:16)\r\n        at node_modules/jest-cli/src/TestRunner.js:379:12\r\n~~~"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/160145741","html_url":"https://github.com/facebook/jest/issues/554#issuecomment-160145741","issue_url":"https://api.github.com/repos/facebook/jest/issues/554","id":160145741,"user":{"login":"nicolasbrugneaux","id":3650621,"avatar_url":"https://avatars.githubusercontent.com/u/3650621?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasbrugneaux","html_url":"https://github.com/nicolasbrugneaux","followers_url":"https://api.github.com/users/nicolasbrugneaux/followers","following_url":"https://api.github.com/users/nicolasbrugneaux/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbrugneaux/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbrugneaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbrugneaux/subscriptions","organizations_url":"https://api.github.com/users/nicolasbrugneaux/orgs","repos_url":"https://api.github.com/users/nicolasbrugneaux/repos","events_url":"https://api.github.com/users/nicolasbrugneaux/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbrugneaux/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T14:02:07Z","updated_at":"2015-11-27T14:02:07Z","body":"any idea of the timeline of when it'll be merged back to master? :) great job in this PR!!"}}