{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/383","labels_url":"https://api.github.com/repos/facebook/jest/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/383/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/383/events","html_url":"https://github.com/facebook/jest/issues/383","id":81646209,"number":383,"title":"Filter out jest lines from error stack traces","user":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T22:09:23Z","updated_at":"2015-10-21T03:45:57Z","closed_at":"2015-10-21T03:45:57Z","body":"If an error is thrown when requiring a module, many lines in the stack look like this:\r\n\r\n```\r\n        at Object.runContentWithLocalBindings (jest/src/lib/utils.js:322:17)\r\n        at Loader._execModule (jest/src/HasteModuleLoader/HasteModuleLoader.js:243:9)\r\n        at Loader.requireModule (jest/src/HasteModuleLoader/HasteModuleLoader.js:896:12)\r\n        at Loader._generateMock (jest/src/HasteModuleLoader/HasteModuleLoader.js:274:30)\r\n        at Loader.requireMock (jest/src/HasteModuleLoader/HasteModuleLoader.js:800:43)\r\n        at Loader.requireModuleOrMock (jest/src/HasteModuleLoader/HasteModuleLoader.js:915:17)\r\n```\r\n\r\nIt would be nice to filter these out so the user code shines through in the stack."},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/149772473","html_url":"https://github.com/facebook/jest/issues/383#issuecomment-149772473","issue_url":"https://api.github.com/repos/facebook/jest/issues/383","id":149772473,"user":{"login":"cpojer","id":13352,"avatar_url":"https://avatars.githubusercontent.com/u/13352?v=3","gravatar_id":"","url":"https://api.github.com/users/cpojer","html_url":"https://github.com/cpojer","followers_url":"https://api.github.com/users/cpojer/followers","following_url":"https://api.github.com/users/cpojer/following{/other_user}","gists_url":"https://api.github.com/users/cpojer/gists{/gist_id}","starred_url":"https://api.github.com/users/cpojer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpojer/subscriptions","organizations_url":"https://api.github.com/users/cpojer/orgs","repos_url":"https://api.github.com/users/cpojer/repos","events_url":"https://api.github.com/users/cpojer/events{/privacy}","received_events_url":"https://api.github.com/users/cpojer/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T03:45:57Z","updated_at":"2015-10-21T03:45:57Z","body":"@yungsters did this for where it makes sense!"}}