{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/2473","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/2473/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/2473/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/2473/events","html_url":"https://github.com/facebook/jest/pull/2473","id":198119499,"number":2473,"title":"Pass CLI args when loading config from file","user":{"login":"stevenbenisek","id":920729,"avatar_url":"https://avatars.githubusercontent.com/u/920729?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbenisek","html_url":"https://github.com/stevenbenisek","followers_url":"https://api.github.com/users/stevenbenisek/followers","following_url":"https://api.github.com/users/stevenbenisek/following{/other_user}","gists_url":"https://api.github.com/users/stevenbenisek/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbenisek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbenisek/subscriptions","organizations_url":"https://api.github.com/users/stevenbenisek/orgs","repos_url":"https://api.github.com/users/stevenbenisek/repos","events_url":"https://api.github.com/users/stevenbenisek/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbenisek/received_events","type":"User","site_admin":false},"labels":[{"id":196857093,"url":"https://api.github.com/repos/facebook/jest/labels/CLA%20Signed","name":"CLA Signed","color":"009900","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-30T08:38:44Z","updated_at":"2016-12-30T09:40:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/jest/pulls/2473","html_url":"https://github.com/facebook/jest/pull/2473","diff_url":"https://github.com/facebook/jest/pull/2473.diff","patch_url":"https://github.com/facebook/jest/pull/2473.patch"},"body":"Pass CLI arguments when loading config from file.\r\n\r\nFixes #2472. \r\n\r\nExpected env should be `node`:\r\n```\r\njest --config path-to-config --env node\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/269751390","html_url":"https://github.com/facebook/jest/pull/2473#issuecomment-269751390","issue_url":"https://api.github.com/repos/facebook/jest/issues/2473","id":269751390,"user":{"login":"stevenbenisek","id":920729,"avatar_url":"https://avatars.githubusercontent.com/u/920729?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenbenisek","html_url":"https://github.com/stevenbenisek","followers_url":"https://api.github.com/users/stevenbenisek/followers","following_url":"https://api.github.com/users/stevenbenisek/following{/other_user}","gists_url":"https://api.github.com/users/stevenbenisek/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenbenisek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenbenisek/subscriptions","organizations_url":"https://api.github.com/users/stevenbenisek/orgs","repos_url":"https://api.github.com/users/stevenbenisek/repos","events_url":"https://api.github.com/users/stevenbenisek/events{/privacy}","received_events_url":"https://api.github.com/users/stevenbenisek/received_events","type":"User","site_admin":false},"created_at":"2016-12-30T09:40:01Z","updated_at":"2016-12-30T09:40:01Z","body":"@thymikee regarding [https://github.com/facebook/jest/issues/2472#issuecomment-269748213](https://github.com/facebook/jest/issues/2472#issuecomment-269748213):\r\n\r\nTypings will be sufficient if we can use `Object`:\r\n[https://github.com/facebook/jest/blob/master/packages/jest-config/src/loadFromFile.js#L17](https://github.com/facebook/jest/blob/master/packages/jest-config/src/loadFromFile.js#L17)\r\n```\r\nfunction loadFromFile(filePath: string, argv: Object) {\r\n```\r\n\r\nIs there a specific reason why `argv: any` was used instead of `argv: Object`?\r\n[https://github.com/facebook/jest/blob/master/packages/jest-config/src/index.js#L19](https://github.com/facebook/jest/blob/master/packages/jest-config/src/index.js#L19)"}}
{"actor":{"display_login":"stevenbenisek"}}