{"push_id":942050142,"size":40,"distinct_size":1,"ref":"refs/heads/pr/564/honor-testPathDirs","head":"97ad297b28e4393f6bdcccf5951ea44539bf3cf0","before":"69f0a1a8cce8bb831e031ee2a5370b53d47cbe8f","commits":[{"sha":"9c601916928f1e0ef400851a73605ba7e45b6bb9","author":{"email":"a4118f98ea69b64c2487efd31bbfd68b143652d9@gmail.com","name":"Tom van Ommeren"},"message":"Optional jasmine 2 support\n\nSummary: Good day.\n\nThis patch adds optional `jasmine 2.x` support to `jest`.\n\nBenefits:\n\n* bundled `jasmine` is not modified, it can be updated any time\n* `done` callback support\n* whatever you need from `jasmine-2.x`\n\nTODOs:\n\n- [ ] make https://github.com/jeffmo/jasmine-pit/pull/12 work, so I can remove dependency on my fork of `jasmine-pit`\n- [x] extract base code for both runners\n- [x] update matchers as I haven't tested them after update\n- [x] fix all TODO's\n- [x] add note about `jasmine 1.x` and `jasmine 2.x` differences\n\nPatches are welcome.\nCloses https://github.com/facebook/jest/pull/330\n\nReviewed By: zpao\n\nDifferential Revision: D2662964\n\nfb-gh-sync-id: 13e3b9116a350e46a0271f6ceb26cf2af316f20e","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/9c601916928f1e0ef400851a73605ba7e45b6bb9"},{"sha":"07b4a835a3b5b8ddf34d584811fa10f341e96aee","author":{"email":"741d98735065190d07919d78aba9cdb1058767ea@fb.com","name":"Christoph Pojer"},"message":"Polish jasmine2 integration\n\nSummary: This polishes the jasmine2 integration from the open source PR ( https://github.com/facebook/jest/pull/330 and D2662964 ):\n\n* Clean up the code, use const/let and classes (I think this is the last holdout in jest to use old patterns? Finally!). Also reformatted a bunch of code with an up-to-date code-style\n* Add a `testRunner` option to switch to jasmine2 and resolve the `<rootDir>` correctly (slightly messy, but I'll redo configs and this is how I want it to work in the end).\n* Moved a bunch of files around so they make more sense. Reorganized a bunch of stuff, this should now make it more apparent that the test runners are modular and can be switched out. In the future, we'll be able to do `npm install jest-jasmine2`, for example, to get jasmine support.\n* Removed the jasmine2 boot file, all of this can be inlined.\n* Changed package.json to run the jest tests both for jasmine1 and jasmine2\n* Changed the CLI to add the name of the test runner\n* Snuck in a small change to the moduleMocker to add WeakMap to the default unmocked collections (cc yungsters).\n\nThe plan is for jest 1.0 to switch to jasmine2 by default.\n\npublic\n\nReviewed By: voideanvalue\n\nDifferential Revision: D2667164\n\nfb-gh-sync-id: 025ccf685abb550a6eaf9e68c478bc718cba546c","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/07b4a835a3b5b8ddf34d584811fa10f341e96aee"},{"sha":"855986011fa7e244249f76ec6102c9752a92fe33","author":{"email":"6826ce5cb2708de176255049e250cf7a11269b63@gmail.com","name":"cpojer"},"message":"Don’t subtract the number of test suites with runtime errors from the…\n\nSummary: … total. This is confusing.\n\nAssuming only two test suites have no-runtime errors here is the output:\n\nPreviously: 77 tests failed, 8 test suites failed, 9 tests passed (86 total in 2 test suites, run time 3.33s)\nNew: 77 tests failed, 8 test suites failed, 9 tests passed (86 total in 15 test suites, run time 3.33s)\nCloses https://github.com/facebook/jest/pull/618\n\nReviewed By: svcscm\n\nDifferential Revision: D2670869\n\nfb-gh-sync-id: 0abe1dcdc5d757e092beb1d57d5d7b4b682b14bb","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/855986011fa7e244249f76ec6102c9752a92fe33"},{"sha":"754747306c62cd2e84c4134f9656eb2846c6cf35","author":{"email":"6826ce5cb2708de176255049e250cf7a11269b63@gmail.com","name":"cpojer"},"message":"Bump version; fix npm test.\n\nSummary: Closes https://github.com/facebook/jest/pull/619\n\nReviewed By: svcscm\n\nDifferential Revision: D2671339\n\nfb-gh-sync-id: 77fb47278a74024aaccd57690cfb1db16280d21f","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/754747306c62cd2e84c4134f9656eb2846c6cf35"},{"sha":"479e6e6ef412eb322dfe4db49948c37ba9c42d81","author":{"email":"6826ce5cb2708de176255049e250cf7a11269b63@gmail.com","name":"cpojer"},"message":"Fix API docs and `npm prepublish`.\n\nSummary: Closes https://github.com/facebook/jest/pull/620\n\nReviewed By: svcscm\n\nDifferential Revision: D2672436\n\nfb-gh-sync-id: 3c428fb5451a0261ca65b1c715a15f77f3129047","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/479e6e6ef412eb322dfe4db49948c37ba9c42d81"},{"sha":"24a0c3d083811f4e5727f24d65d0d02a84973d3a","author":{"email":"8a2957e0063f2abf61bd145b6236a74a3708ac54@imgur.com","name":"Bjorn Tipling"},"message":"Bail should exit with proper error code.\n\nSummary:\nIf bail is set to `true` process exits with error status `0`.\nCloses https://github.com/facebook/jest/pull/621\n\nReviewed By: svcscm\n\nDifferential Revision: D2714283\n\nfb-gh-sync-id: a67980b437b33e9a33e8108d16cb0b02f2fc7f6e","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/24a0c3d083811f4e5727f24d65d0d02a84973d3a"},{"sha":"cd8aa7aa4fe58801e9e9152cde77df8d75e34567","author":{"email":"741d98735065190d07919d78aba9cdb1058767ea@fb.com","name":"Christoph Pojer"},"message":"Fix loading of the setup file in jasmine2\n\nSummary:\nThis was missed when implementing the jasmine2 runner. See https://github.com/facebook/jest/issues/633 This is the exact same code as in the jasmine1 runner.\n\npublic\n\nReviewed By: zpao\n\nDifferential Revision: D2725650\n\nfb-gh-sync-id: 98718b013214fb2ca3928847777ce59d9f51c8e5","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/cd8aa7aa4fe58801e9e9152cde77df8d75e34567"},{"sha":"df44357aa8bb336d51e8859b07d784a52dc6ab69","author":{"email":"741d98735065190d07919d78aba9cdb1058767ea@fb.com","name":"Christoph Pojer"},"message":"Update jsdom to 7.2.0 + Prepare for 0.8.1\n\nSummary:\nPlanning to publish a new version of jest today with some bug fixes. Let's update jsdom to the latest!\n\nI had to update some `initEvent` call because jsdom is more strict about the function now.\n\npublic\n\nReviewed By: voideanvalue\n\nDifferential Revision: D2730703\n\nfb-gh-sync-id: c9f70c887df5516d1d9a34995e9d3e77d1982c06","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/df44357aa8bb336d51e8859b07d784a52dc6ab69"},{"sha":"bea55076155957ecbf00211de413a532b8da0a73","author":{"email":"6d170934ca0332c024900257d3bd229a20994dee@gmail.com","name":"Nicolas Cuillery"},"message":"Assign the documented keys of the `require` object\n\nSummary:\nThis PR makes Jest working with libs using the enumerable keys of the `require` function/object.\n\nIt fixes https://github.com/jhnns/rewire/issues/45\n\nI started with a `Object.keys(require).forEach` but I noted a significant overhead of execution time. So I ended up by assigning manually the 2 properties documented [here](https://nodejs.org/api/globals.html#globals_require)\n\nFYT ?\nCloses https://github.com/facebook/jest/pull/631\n\nReviewed By: vjeux\n\nDifferential Revision: D2730152\n\nfb-gh-sync-id: 4c0391d0b0ac23c3c822191bdd9fa6d4f2c81c0a","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/bea55076155957ecbf00211de413a532b8da0a73"},{"sha":"878014e948d9406207c87473b709b4c3e7f17ec4","author":{"email":"6826ce5cb2708de176255049e250cf7a11269b63@gmail.com","name":"cpojer"},"message":"Simplify module execution.\n\nSummary:\nPulled out from #599.\nCloses https://github.com/facebook/jest/pull/636\n\nReviewed By: vjeux\n\nDifferential Revision: D2731701\n\nfb-gh-sync-id: 23fbcc618dc9e0cfb79fb96a8d02302b3276466a","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/878014e948d9406207c87473b709b4c3e7f17ec4"},{"sha":"a91afabe4881c7e81980a962bf24a07e94f57464","author":{"email":"741d98735065190d07919d78aba9cdb1058767ea@fb.com","name":"Christoph Pojer"},"message":"Update www to jasmine2\n\nReviewed By: fabiomcosta\n\nDifferential Revision: D2728491\n\nfb-gh-sync-id: ca956c96d59c6c644428f6c7ecf3802554b1acb6","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/a91afabe4881c7e81980a962bf24a07e94f57464"},{"sha":"b6c453c2477ec69b9102fbaf4c52e96af7e1080b","author":{"email":"09649207a9b5da671f7ce18b12a6f397247e5ee8@fb.com","name":"Alexander Juarez"},"message":"Working on test coverage reports for jest\n\nReviewed By: cpojer\n\nDifferential Revision: D2737058\n\nfb-gh-sync-id: da0a2007689b68e8fff339c9cadcabae0cd0ed7e","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/b6c453c2477ec69b9102fbaf4c52e96af7e1080b"},{"sha":"2fb166af36995e4348ca7c2f8e731cf5106490b8","author":{"email":"6826ce5cb2708de176255049e250cf7a11269b63@gmail.com","name":"cpojer"},"message":"Jest cleanups from the node-haste2 branch\n\nSummary:\nThis pulls in changes unrelated to node-haste2 from #599 so I can ship them earlier and remove them from the PR.\nCloses https://github.com/facebook/jest/pull/638\n\nReviewed By: svcscm\n\nDifferential Revision: D2741867\n\nfb-gh-sync-id: 9be0f86b54b37ea8fbf0e113579de74af18a3695","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/2fb166af36995e4348ca7c2f8e731cf5106490b8"},{"sha":"51f5e771dfb6d7337ebdd367bd363ca70ad92b50","author":{"email":"741d98735065190d07919d78aba9cdb1058767ea@fb.com","name":"Christoph Pojer"},"message":"Fix PASS colors in jasmine2\n\nReviewed By: fabiomcosta\n\nDifferential Revision: D2741767\n\nfb-gh-sync-id: 1a730baad769b5bf7d383c523cac1b0c529ab931","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/51f5e771dfb6d7337ebdd367bd363ca70ad92b50"},{"sha":"f68d19ee470396e4497ef4af321650cdec5054fa","author":{"email":"09649207a9b5da671f7ce18b12a6f397247e5ee8@fb.com","name":"Alexander Juarez"},"message":"Reverted commit D2737058\n\nReviewed By: cpojer\n\nDifferential Revision: D2737058\n\nfb-gh-sync-id: ba7d00ed89542ec558b889d765b88a087b4bfb3b","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/f68d19ee470396e4497ef4af321650cdec5054fa"},{"sha":"a1a459e9d32a45f1ca8bfbc48ed3d655cb662691","author":{"email":"64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@smayr.name","name":"Sebastian Mayr"},"message":"Replace access to private jsdom vm internals with context.eval\n\nSummary:\ncpojer It works (for public tests) :stuck_out_tongue:\nCloses https://github.com/facebook/jest/pull/635\n\nReviewed By: svcscm\n\nDifferential Revision: D2734657\n\nfb-gh-sync-id: 614cf18814732bfa9ab4d9e87c9363a8af941397","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/a1a459e9d32a45f1ca8bfbc48ed3d655cb662691"},{"sha":"18794038e2028abbeee7a5d94a188cc428760107","author":{"email":"398c208975b85334bcc59d678e1e4d2ee38db2f5@gmail.com","name":"Sebastian Mayr"},"message":"Remove outdated comment\n\nThe comment applied to code removed by a1a459e9d32a45f1ca8bfbc48ed3d655cb662691.\n\nDifferential Revision: D2743136","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/18794038e2028abbeee7a5d94a188cc428760107"},{"sha":"c90543da08ab1d5f812e26ec640226793e11a6c5","author":{"email":"29a306060c692a35cfdaf417a723cae3f8f1ff76@geeksdiary.com","name":"Buddhike de Silva"},"message":"Documented babel presets required to run jest.\n\nSummary: Closes https://github.com/facebook/jest/pull/641\n\nReviewed By: svcscm\n\nDifferential Revision: D2746064\n\nfb-gh-sync-id: 17439a5a5ed304bb78d317e1d02570b7eade64e5","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/c90543da08ab1d5f812e26ec640226793e11a6c5"},{"sha":"02d8803be55165b7cd1a2afd103d6d5c027d8d4b","author":{"email":"a027184a55211cd23e3f3094f1fdc728df5e0500@oshannessy.com","name":"Paul O’Shannessy"},"message":"Use chalk instead of managing our own colorization.\n\nSummary:\nThis is arguably slightly nicer but also avoids having to lookup config.noHighlight, instead just turning that off in chalk at the top level when we see that flag.\n\nThe other thing this provides is that we never have to do resets ourselves, which resulted in a bug recently (which was why I looked into this at all).\nCloses https://github.com/facebook/jest/pull/639\n\nReviewed By: svcscm\n\nDifferential Revision: D2746396\n\nfb-gh-sync-id: c66a193d55d0d04c9550d16a4970c5b1fabfcd4a","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/02d8803be55165b7cd1a2afd103d6d5c027d8d4b"},{"sha":"22588a81c3464727ff3d35529f14e6dc82d8fda3","author":{"email":"09649207a9b5da671f7ce18b12a6f397247e5ee8@fb.com","name":"Alexander Juarez"},"message":"reworked test output for phabricator/arcanist, it now prints the json to a file\n\nReviewed By: jeffmo\n\nDifferential Revision: D2743491\n\nfb-gh-sync-id: 8132991431cb34c48a9f0b48acdd1310c0d0e0a1","distinct":false,"url":"https://api.github.com/repos/huang47/jest/commits/22588a81c3464727ff3d35529f14e6dc82d8fda3"}]}