{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/788","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/788/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/788/events","html_url":"https://github.com/facebook/jest/pull/788","id":140070406,"number":788,"title":"Support Jasmine2 pending tests","user":{"login":"mbrio","id":13557,"avatar_url":"https://avatars.githubusercontent.com/u/13557?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrio","html_url":"https://github.com/mbrio","followers_url":"https://api.github.com/users/mbrio/followers","following_url":"https://api.github.com/users/mbrio/following{/other_user}","gists_url":"https://api.github.com/users/mbrio/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrio/subscriptions","organizations_url":"https://api.github.com/users/mbrio/orgs","repos_url":"https://api.github.com/users/mbrio/repos","events_url":"https://api.github.com/users/mbrio/events{/privacy}","received_events_url":"https://api.github.com/users/mbrio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/jest/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T02:49:05Z","updated_at":"2016-03-11T03:10:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/788","html_url":"https://github.com/facebook/jest/pull/788","diff_url":"https://github.com/facebook/jest/pull/788.diff","patch_url":"https://github.com/facebook/jest/pull/788.patch"},"body":"As of Jasmine2 there is the possibility to determine whether a task is pending or not. This allows for those pending tasks to output with a custom yellow icon (\\u25CB small white circle &#x25CB;) in verbose mode and yellow pending information in the summary line.\r\n\r\nYou can set tests as pending in Jasmine2 by using `xit()`, `xdescribe()`, `pending()`, or by not passing a function to `describe()`, `it()`, `pit()`, `fit()`, etc.\r\n\r\n```\r\ndescribe('AwesomeClass', () => {\r\n  xit('going to write tests one day');\r\n  pit('going to write tests one day');\r\n  it('going to write tests one day');\r\n  fit('going to write tests one day');\r\n});\r\n```\r\n\r\nThis can not work for Jasmine1 because it does not output the tasks with any form of pending information.\r\n\r\nfixes #784"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/195158468","html_url":"https://github.com/facebook/jest/pull/788#issuecomment-195158468","issue_url":"https://api.github.com/repos/facebook/jest/issues/788","id":195158468,"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":"2016-03-11T03:10:49Z","updated_at":"2016-03-11T03:10:49Z","body":"This is lovely! Let me check whether this works well internally before merging."}}