{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/360","labels_url":"https://api.github.com/repos/facebook/jest/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/360/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/360/events","html_url":"https://github.com/facebook/jest/pull/360","id":74444579,"number":360,"title":"Issue #357 - CLI --testPathPattern option","user":{"login":"McNouvion","id":2993062,"avatar_url":"https://avatars.githubusercontent.com/u/2993062?v=3","gravatar_id":"","url":"https://api.github.com/users/McNouvion","html_url":"https://github.com/McNouvion","followers_url":"https://api.github.com/users/McNouvion/followers","following_url":"https://api.github.com/users/McNouvion/following{/other_user}","gists_url":"https://api.github.com/users/McNouvion/gists{/gist_id}","starred_url":"https://api.github.com/users/McNouvion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McNouvion/subscriptions","organizations_url":"https://api.github.com/users/McNouvion/orgs","repos_url":"https://api.github.com/users/McNouvion/repos","events_url":"https://api.github.com/users/McNouvion/events{/privacy}","received_events_url":"https://api.github.com/users/McNouvion/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":"2015-05-08T18:00:08Z","updated_at":"2015-05-11T16:23:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/360","html_url":"https://github.com/facebook/jest/pull/360","diff_url":"https://github.com/facebook/jest/pull/360.diff","patch_url":"https://github.com/facebook/jest/pull/360.patch"},"body":"Let me know if you need any changes or have any comments.\r\nI did not think this deserved a specific test since I feel it is an edge case but let me know if you feel otherwise.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/100969586","html_url":"https://github.com/facebook/jest/pull/360#issuecomment-100969586","issue_url":"https://api.github.com/repos/facebook/jest/issues/360","id":100969586,"user":{"login":"McNouvion","id":2993062,"avatar_url":"https://avatars.githubusercontent.com/u/2993062?v=3","gravatar_id":"","url":"https://api.github.com/users/McNouvion","html_url":"https://github.com/McNouvion","followers_url":"https://api.github.com/users/McNouvion/followers","following_url":"https://api.github.com/users/McNouvion/following{/other_user}","gists_url":"https://api.github.com/users/McNouvion/gists{/gist_id}","starred_url":"https://api.github.com/users/McNouvion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McNouvion/subscriptions","organizations_url":"https://api.github.com/users/McNouvion/orgs","repos_url":"https://api.github.com/users/McNouvion/repos","events_url":"https://api.github.com/users/McNouvion/events{/privacy}","received_events_url":"https://api.github.com/users/McNouvion/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T16:23:18Z","updated_at":"2015-05-11T16:23:18Z","body":"I have checked and you are correct `argv.testPathPattern` is already escaped for slashes. So if we wanted to add some safety checks it would have to happen earlier in the process ( In optimist args check?). Anyways, I have updated the code and also added the params help info in Bin/jest.js as you originally requested. Let me know if you need me to make any updates, thanks!"}}