{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jest/issues/1214","repository_url":"https://api.github.com/repos/facebook/jest","labels_url":"https://api.github.com/repos/facebook/jest/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jest/issues/1214/comments","events_url":"https://api.github.com/repos/facebook/jest/issues/1214/events","html_url":"https://github.com/facebook/jest/issues/1214","id":162773710,"number":1214,"title":"Simple ES5 test file fails at coverage","user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-28T20:03:26Z","updated_at":"2016-08-19T05:16:10Z","closed_at":"2016-08-16T23:02:44Z","body":"I am tryiing to user `jest --coverage` without luck, I somehow endup with weird coverage report.\r\n\r\nI have setup a reproducible repository at https://github.com/vvo/test-coverage-jest.\r\n\r\nindex.js:\r\n```js\r\nmodule.exports = function index(opts, cb) {\r\n  cb(opts);\r\n}\r\n```\r\n\r\ntest.js\r\n```js\r\nvar index = require('../index.js');\r\n\r\ndescribe('test', function() {\r\n  it('works', function() {\r\n    index({test: 'lol'}, function(){});\r\n  });\r\n});\r\n```\r\n\r\nresult\r\n```sh\r\n> test-coverage-jest@1.0.0 test:jest /home/vvo/Dev/Algolia/test-coverage\r\n> jest --no-cache --coverage\r\n\r\nUsing Jest CLI v13.0.0, jasmine2\r\n PASS  __tests__/index.js (0.085s)\r\n1 test passed (1 total in 1 test suite, run time 0.541s)\r\n----------------|----------|----------|----------|----------|----------------|\r\nFile            |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\r\n----------------|----------|----------|----------|----------|----------------|\r\n test-coverage/ |       50 |      100 |        0 |       50 |                |\r\n  index.js      |       50 |      100 |        0 |       50 |              2 |\r\n----------------|----------|----------|----------|----------|----------------|\r\nAll files       |       50 |      100 |        0 |       50 |                |\r\n----------------|----------|----------|----------|----------|----------------|\r\n```\r\n\r\nSame with mocha:\r\n\r\n```sh\r\n> test-coverage-jest@1.0.0 test:mocha /home/vvo/Dev/Algolia/test-coverage\r\n> NODE_ENV=test nyc mocha --compilers js:babel-register\r\n\r\n\r\n\r\n  test\r\n    ✓ works\r\n\r\n\r\n  1 passing (299ms)\r\n\r\n----------------|----------|----------|----------|----------|----------------|\r\nFile            |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\r\n----------------|----------|----------|----------|----------|----------------|\r\n test-coverage/ |      100 |      100 |      100 |      100 |                |\r\n  index.js      |      100 |      100 |      100 |      100 |                |\r\n----------------|----------|----------|----------|----------|----------------|\r\nAll files       |      100 |      100 |      100 |      100 |                |\r\n----------------|----------|----------|----------|----------|----------------|\r\n```\r\n\r\nI have setup a reproducible repository at https://github.com/vvo/test-coverage-jest.\r\n\r\nDebug data:\r\n\r\n<details>\r\n```sh\r\n> node -v\r\nv6.2.2\r\n\r\n> npm -v\r\n3.9.5\r\n\r\n> npm ls\r\ntest-coverage-jest@1.0.0 /home/vvo/Dev/Algolia/test-coverage\r\n├─┬ babel-plugin-istanbul@1.0.0\r\n│ ├─┬ find-up@1.1.2\r\n│ │ ├── path-exists@2.1.0\r\n│ │ └─┬ pinkie-promise@2.0.1\r\n│ │   └── pinkie@2.0.4\r\n│ ├─┬ istanbul-lib-instrument@1.1.0-alpha.1\r\n│ │ ├─┬ babel-generator@6.11.0\r\n│ │ │ └─┬ detect-indent@3.0.1\r\n│ │ │   ├── get-stdin@4.0.1\r\n│ │ │   └─┬ repeating@1.1.3\r\n│ │ │     └── is-finite@1.0.1\r\n│ │ ├── babel-template@6.9.0\r\n│ │ ├─┬ babel-traverse@6.10.4\r\n│ │ │ ├── globals@8.18.0\r\n│ │ │ └─┬ invariant@2.2.1\r\n│ │ │   └─┬ loose-envify@1.2.0\r\n│ │ │     └── js-tokens@1.0.3\r\n│ │ ├─┬ babel-types@6.11.1\r\n│ │ │ ├── esutils@2.0.2\r\n│ │ │ └── to-fast-properties@1.0.2\r\n│ │ ├── babylon@6.8.2\r\n│ │ └── istanbul-lib-coverage@1.0.0-alpha.4\r\n│ └─┬ test-exclude@1.1.0\r\n│   ├── arrify@1.0.1\r\n│   ├── lodash.assign@4.0.9\r\n│   ├─┬ micromatch@2.3.10\r\n│   │ ├─┬ arr-diff@2.0.0\r\n│   │ │ └── arr-flatten@1.0.1\r\n│   │ ├── array-unique@0.2.1\r\n│   │ ├─┬ braces@1.8.5\r\n│   │ │ ├─┬ expand-range@1.8.2\r\n│   │ │ │ └─┬ fill-range@2.2.3\r\n│   │ │ │   ├── is-number@2.1.0\r\n│   │ │ │   ├── isobject@2.1.0\r\n│   │ │ │   ├── randomatic@1.1.5\r\n│   │ │ │   └── repeat-string@1.5.4\r\n│   │ │ ├── preserve@0.2.0\r\n│   │ │ └── repeat-element@1.1.2\r\n│   │ ├─┬ expand-brackets@0.1.5\r\n│   │ │ └── is-posix-bracket@0.1.1\r\n│   │ ├── extglob@0.3.2\r\n│   │ ├── filename-regex@2.0.0\r\n│   │ ├── is-extglob@1.0.0\r\n│   │ ├── is-glob@2.0.1\r\n│   │ ├─┬ kind-of@3.0.3\r\n│   │ │ └── is-buffer@1.1.3\r\n│   │ ├── normalize-path@2.0.1\r\n│   │ ├─┬ object.omit@2.0.0\r\n│   │ │ ├─┬ for-own@0.1.4\r\n│   │ │ │ └── for-in@0.1.5\r\n│   │ │ └── is-extendable@0.1.1\r\n│   │ ├─┬ parse-glob@3.0.4\r\n│   │ │ ├─┬ glob-base@0.3.0\r\n│   │ │ │ └── glob-parent@2.0.0\r\n│   │ │ └── is-dotfile@1.0.2\r\n│   │ └─┬ regex-cache@0.4.3\r\n│   │   ├── is-equal-shallow@0.1.3\r\n│   │   └── is-primitive@2.0.0\r\n│   ├─┬ read-pkg-up@1.0.1\r\n│   │ └─┬ read-pkg@1.1.0\r\n│   │   ├─┬ normalize-package-data@2.3.5\r\n│   │   │ ├── hosted-git-info@2.1.5\r\n│   │   │ ├─┬ is-builtin-module@1.0.0\r\n│   │   │ │ └── builtin-modules@1.1.1\r\n│   │   │ └─┬ validate-npm-package-license@3.0.1\r\n│   │   │   ├─┬ spdx-correct@1.0.2\r\n│   │   │   │ └── spdx-license-ids@1.2.1\r\n│   │   │   └─┬ spdx-expression-parse@1.0.2\r\n│   │   │     └── spdx-exceptions@1.0.4\r\n│   │   └── path-type@1.1.0\r\n│   └── require-main-filename@1.0.1\r\n├─┬ babel-polyfill@6.9.1\r\n│ ├── babel-runtime@6.9.2\r\n│ ├── core-js@2.4.0\r\n│ └── regenerator-runtime@0.9.5\r\n├─┬ babel-preset-es2015@6.9.0\r\n│ ├── babel-plugin-check-es2015-constants@6.8.0\r\n│ ├── babel-plugin-transform-es2015-arrow-functions@6.8.0\r\n│ ├── babel-plugin-transform-es2015-block-scoped-functions@6.8.0\r\n│ ├── babel-plugin-transform-es2015-block-scoping@6.10.1\r\n│ ├─┬ babel-plugin-transform-es2015-classes@6.9.0\r\n│ │ ├── babel-helper-define-map@6.9.0\r\n│ │ ├── babel-helper-function-name@6.8.0\r\n│ │ ├── babel-helper-optimise-call-expression@6.8.0\r\n│ │ ├── babel-helper-replace-supers@6.8.0\r\n│ │ └── babel-messages@6.8.0\r\n│ ├── babel-plugin-transform-es2015-computed-properties@6.8.0\r\n│ ├── babel-plugin-transform-es2015-destructuring@6.9.0\r\n│ ├── babel-plugin-transform-es2015-duplicate-keys@6.8.0\r\n│ ├── babel-plugin-transform-es2015-for-of@6.8.0\r\n│ ├── babel-plugin-transform-es2015-function-name@6.9.0\r\n│ ├── babel-plugin-transform-es2015-literals@6.8.0\r\n│ ├─┬ babel-plugin-transform-es2015-modules-commonjs@6.10.3\r\n│ │ └── babel-plugin-transform-strict-mode@6.8.0\r\n│ ├── babel-plugin-transform-es2015-object-super@6.8.0\r\n│ ├─┬ babel-plugin-transform-es2015-parameters@6.9.0\r\n│ │ ├─┬ babel-helper-call-delegate@6.8.0\r\n│ │ │ └── babel-helper-hoist-variables@6.8.0\r\n│ │ └── babel-helper-get-function-arity@6.8.0\r\n│ ├── babel-plugin-transform-es2015-shorthand-properties@6.8.0\r\n│ ├── babel-plugin-transform-es2015-spread@6.8.0\r\n│ ├─┬ babel-plugin-transform-es2015-sticky-regex@6.8.0\r\n│ │ └── babel-helper-regex@6.9.0\r\n│ ├── babel-plugin-transform-es2015-template-literals@6.8.0\r\n│ ├── babel-plugin-transform-es2015-typeof-symbol@6.8.0\r\n│ ├─┬ babel-plugin-transform-es2015-unicode-regex@6.11.0\r\n│ │ └─┬ regexpu-core@2.0.0\r\n│ │   ├── regenerate@1.3.1\r\n│ │   ├── regjsgen@0.2.0\r\n│ │   └─┬ regjsparser@0.1.5\r\n│ │     └── jsesc@0.5.0\r\n│ └─┬ babel-plugin-transform-regenerator@6.9.0\r\n│   ├── babel-plugin-syntax-async-functions@6.8.0\r\n│   └── private@0.1.6\r\n├─┬ babel-preset-stage-2@6.11.0\r\n│ ├─┬ babel-plugin-transform-object-rest-spread@6.8.0\r\n│ │ └── babel-plugin-syntax-object-rest-spread@6.8.0\r\n│ └─┬ babel-preset-stage-3@6.11.0\r\n│   ├── babel-plugin-syntax-trailing-function-commas@6.8.0\r\n│   ├─┬ babel-plugin-transform-async-to-generator@6.8.0\r\n│   │ └── babel-helper-remap-async-to-generator@6.8.0\r\n│   └─┬ babel-plugin-transform-exponentiation-operator@6.8.0\r\n│     ├─┬ babel-helper-builder-binary-assignment-operator-visitor@6.8.0\r\n│     │ └── babel-helper-explode-assignable-expression@6.8.0\r\n│     └── babel-plugin-syntax-exponentiation-operator@6.8.0\r\n├─┬ babel-register@6.9.0\r\n│ ├─┬ babel-core@6.10.4\r\n│ │ ├─┬ babel-code-frame@6.11.0\r\n│ │ │ └── js-tokens@2.0.0\r\n│ │ ├── babel-helpers@6.8.0\r\n│ │ ├── convert-source-map@1.2.0\r\n│ │ ├── json5@0.4.0\r\n│ │ ├─┬ minimatch@3.0.2\r\n│ │ │ └─┬ brace-expansion@1.1.5\r\n│ │ │   ├── balanced-match@0.4.1\r\n│ │ │   └── concat-map@0.0.1\r\n│ │ ├── path-exists@1.0.0\r\n│ │ ├── path-is-absolute@1.0.0\r\n│ │ ├── shebang-regex@1.0.0\r\n│ │ ├── slash@1.0.0\r\n│ │ └── source-map@0.5.6\r\n│ ├─┬ home-or-tmp@1.0.0\r\n│ │ ├── os-tmpdir@1.0.1\r\n│ │ └── user-home@1.1.1\r\n│ ├── lodash@4.13.1\r\n│ ├─┬ mkdirp@0.5.1\r\n│ │ └── minimist@0.0.8\r\n│ ├── path-exists@1.0.0\r\n│ └─┬ source-map-support@0.2.10\r\n│   └─┬ source-map@0.1.32\r\n│     └── amdefine@1.0.0\r\n├─┬ jest-cli@13.0.0\r\n│ ├─┬ chalk@1.1.3\r\n│ │ ├── ansi-styles@2.2.1\r\n│ │ ├── escape-string-regexp@1.0.5\r\n│ │ ├─┬ has-ansi@2.0.0\r\n│ │ │ └── ansi-regex@2.0.0\r\n│ │ ├── strip-ansi@3.0.1\r\n│ │ └── supports-color@2.0.0\r\n│ ├── graceful-fs@4.1.4\r\n│ ├── jest-changed-files@13.0.0\r\n│ ├─┬ jest-config@13.0.0\r\n│ │ ├─┬ istanbul@0.4.4\r\n│ │ │ ├── abbrev@1.0.9\r\n│ │ │ ├── async@1.5.2\r\n│ │ │ ├─┬ escodegen@1.8.0\r\n│ │ │ │ ├── estraverse@1.9.3\r\n│ │ │ │ ├─┬ optionator@0.8.1\r\n│ │ │ │ │ ├── deep-is@0.1.3\r\n│ │ │ │ │ ├── fast-levenshtein@1.1.3\r\n│ │ │ │ │ ├── levn@0.3.0\r\n│ │ │ │ │ ├── prelude-ls@1.1.2\r\n│ │ │ │ │ └── type-check@0.3.2\r\n│ │ │ │ └── source-map@0.2.0\r\n│ │ │ ├── esprima@2.7.2\r\n│ │ │ ├─┬ fileset@0.2.1\r\n│ │ │ │ ├─┬ glob@5.0.15\r\n│ │ │ │ │ └── inflight@1.0.5\r\n│ │ │ │ └── minimatch@2.0.10\r\n│ │ │ ├─┬ handlebars@4.0.5\r\n│ │ │ │ ├─┬ optimist@0.6.1\r\n│ │ │ │ │ ├── minimist@0.0.10\r\n│ │ │ │ │ └── wordwrap@0.0.3\r\n│ │ │ │ ├── source-map@0.4.4\r\n│ │ │ │ └─┬ uglify-js@2.6.4\r\n│ │ │ │   ├── async@0.2.10\r\n│ │ │ │   ├── uglify-to-browserify@1.0.2\r\n│ │ │ │   └─┬ yargs@3.10.0\r\n│ │ │ │     ├── camelcase@1.2.1\r\n│ │ │ │     ├─┬ cliui@2.1.0\r\n│ │ │ │     │ ├─┬ center-align@0.1.3\r\n│ │ │ │     │ │ ├─┬ align-text@0.1.4\r\n│ │ │ │     │ │ │ └── longest@1.0.1\r\n│ │ │ │     │ │ └── lazy-cache@1.0.4\r\n│ │ │ │     │ ├── right-align@0.1.3\r\n│ │ │ │     │ └── wordwrap@0.0.2\r\n│ │ │ │     └── window-size@0.1.0\r\n│ │ │ ├─┬ js-yaml@3.6.1\r\n│ │ │ │ └─┬ argparse@1.0.7\r\n│ │ │ │   └── sprintf-js@1.0.3\r\n│ │ │ ├── nopt@3.0.6\r\n│ │ │ ├─┬ once@1.3.3\r\n│ │ │ │ └── wrappy@1.0.2\r\n│ │ │ ├─┬ supports-color@3.1.2\r\n│ │ │ │ └── has-flag@1.0.0\r\n│ │ │ └── wordwrap@1.0.0\r\n│ │ ├── jest-environment-node@13.0.0\r\n│ │ └─┬ node-notifier@4.6.0\r\n│ │   ├─┬ cli-usage@0.1.2\r\n│ │   │ ├── marked@0.3.5\r\n│ │   │ ├─┬ marked-terminal@1.6.1\r\n│ │   │ │ ├─┬ cardinal@0.5.0\r\n│ │   │ │ │ ├── ansicolors@0.2.1\r\n│ │   │ │ │ └─┬ redeyed@0.5.0\r\n│ │   │ │ │   └── esprima-fb@12001.1.0-dev-harmony-fb\r\n│ │   │ │ ├─┬ cli-table@0.3.1\r\n│ │   │ │ │ └── colors@1.0.3\r\n│ │   │ │ ├─┬ lodash.assign@3.2.0\r\n│ │   │ │ │ ├─┬ lodash._createassigner@3.1.1\r\n│ │   │ │ │ │ ├── lodash._isiterateecall@3.0.9\r\n│ │   │ │ │ │ └── lodash.restparam@3.6.1\r\n│ │   │ │ │ └── lodash.keys@3.1.2\r\n│ │   │ │ └── node-emoji@0.1.0\r\n│ │   │ └── minimist@0.2.0\r\n│ │   ├── growly@1.3.0\r\n│ │   ├─┬ lodash.clonedeep@3.0.2\r\n│ │   │ ├─┬ lodash._baseclone@3.3.0\r\n│ │   │ │ ├── lodash._arraycopy@3.0.0\r\n│ │   │ │ ├── lodash._arrayeach@3.0.0\r\n│ │   │ │ ├─┬ lodash._baseassign@3.2.0\r\n│ │   │ │ │ ├── lodash._basecopy@3.0.1\r\n│ │   │ │ │ └── lodash.keys@3.1.2\r\n│ │   │ │ ├── lodash._basefor@3.0.3\r\n│ │   │ │ ├── lodash.isarray@3.0.4\r\n│ │   │ │ └─┬ lodash.keys@3.1.2\r\n│ │   │ │   ├── lodash._getnative@3.9.1\r\n│ │   │ │   └── lodash.isarguments@3.0.8\r\n│ │   │ └── lodash._bindcallback@3.0.1\r\n│ │   ├── semver@5.2.0\r\n│ │   └── shellwords@0.1.0\r\n│ ├─┬ jest-environment-jsdom@13.0.0\r\n│ │ └─┬ jsdom@9.3.0\r\n│ │   ├── abab@1.0.3\r\n│ │   ├── acorn@2.7.0\r\n│ │   ├── acorn-globals@1.0.9\r\n│ │   ├── array-equal@1.0.0\r\n│ │   ├── cssom@0.3.1\r\n│ │   ├── cssstyle@0.2.36\r\n│ │   ├── iconv-lite@0.4.13\r\n│ │   ├── nwmatcher@1.3.8\r\n│ │   ├── parse5@1.5.1\r\n│ │   ├─┬ request@2.72.0\r\n│ │   │ ├── aws-sign2@0.6.0\r\n│ │   │ ├── aws4@1.4.1\r\n│ │   │ ├─┬ bl@1.1.2\r\n│ │   │ │ └─┬ readable-stream@2.0.6\r\n│ │   │ │   ├── core-util-is@1.0.2\r\n│ │   │ │   ├── isarray@1.0.0\r\n│ │   │ │   ├── process-nextick-args@1.0.7\r\n│ │   │ │   ├── string_decoder@0.10.31\r\n│ │   │ │   └── util-deprecate@1.0.2\r\n│ │   │ ├── caseless@0.11.0\r\n│ │   │ ├─┬ combined-stream@1.0.5\r\n│ │   │ │ └── delayed-stream@1.0.0\r\n│ │   │ ├── extend@3.0.0\r\n│ │   │ ├── forever-agent@0.6.1\r\n│ │   │ ├── form-data@1.0.0-rc4\r\n│ │   │ ├─┬ har-validator@2.0.6\r\n│ │   │ │ ├─┬ commander@2.9.0\r\n│ │   │ │ │ └── graceful-readlink@1.0.1\r\n│ │   │ │ └─┬ is-my-json-valid@2.13.1\r\n│ │   │ │   ├── generate-function@2.0.0\r\n│ │   │ │   ├─┬ generate-object-property@1.2.0\r\n│ │   │ │   │ └── is-property@1.0.2\r\n│ │   │ │   └── jsonpointer@2.0.0\r\n│ │   │ ├─┬ hawk@3.1.3\r\n│ │   │ │ ├── boom@2.10.1\r\n│ │   │ │ ├── cryptiles@2.0.5\r\n│ │   │ │ ├── hoek@2.16.3\r\n│ │   │ │ └── sntp@1.0.9\r\n│ │   │ ├─┬ http-signature@1.1.1\r\n│ │   │ │ ├── assert-plus@0.2.0\r\n│ │   │ │ ├─┬ jsprim@1.3.0\r\n│ │   │ │ │ ├── extsprintf@1.0.2\r\n│ │   │ │ │ ├── json-schema@0.2.2\r\n│ │   │ │ │ └── verror@1.3.6\r\n│ │   │ │ └─┬ sshpk@1.8.3\r\n│ │   │ │   ├── asn1@0.2.3\r\n│ │   │ │   ├── assert-plus@1.0.0\r\n│ │   │ │   ├─┬ dashdash@1.14.0\r\n│ │   │ │   │ └── assert-plus@1.0.0\r\n│ │   │ │   ├── ecc-jsbn@0.1.1\r\n│ │   │ │   ├─┬ getpass@0.1.6\r\n│ │   │ │   │ └── assert-plus@1.0.0\r\n│ │   │ │   ├── jodid25519@1.0.2\r\n│ │   │ │   ├── jsbn@0.1.0\r\n│ │   │ │   └── tweetnacl@0.13.3\r\n│ │   │ ├── is-typedarray@1.0.0\r\n│ │   │ ├── isstream@0.1.2\r\n│ │   │ ├── json-stringify-safe@5.0.1\r\n│ │   │ ├─┬ mime-types@2.1.11\r\n│ │   │ │ └── mime-db@1.23.0\r\n│ │   │ ├── node-uuid@1.4.7\r\n│ │   │ ├── oauth-sign@0.8.2\r\n│ │   │ ├── qs@6.1.0\r\n│ │   │ ├── stringstream@0.0.5\r\n│ │   │ └── tunnel-agent@0.4.3\r\n│ │   ├── sax@1.2.1\r\n│ │   ├── symbol-tree@3.1.4\r\n│ │   ├── tough-cookie@2.2.2\r\n│ │   ├── webidl-conversions@3.0.1\r\n│ │   ├─┬ whatwg-url@3.0.0\r\n│ │   │ └── tr46@0.0.3\r\n│ │   └── xml-name-validator@2.0.1\r\n│ ├─┬ jest-haste-map@13.0.0\r\n│ │ └─┬ fb-watchman@1.9.0\r\n│ │   └─┬ bser@1.0.2\r\n│ │     └── node-int64@0.4.0\r\n│ ├── jest-jasmine1@13.0.0\r\n│ ├─┬ jest-jasmine2@13.0.0\r\n│ │ └─┬ jasmine-check@0.1.5\r\n│ │   └── testcheck@0.1.4\r\n│ ├── jest-mock@13.0.0\r\n│ ├─┬ jest-resolve@13.0.0\r\n│ │ ├── browser-resolve@1.11.2\r\n│ │ └── resolve@1.1.7\r\n│ ├── jest-runtime@13.0.0\r\n│ ├─┬ jest-snapshot@13.0.0\r\n│ │ └── pretty-format@3.3.2\r\n│ ├─┬ jest-util@13.0.0\r\n│ │ └── diff@2.2.3\r\n│ ├─┬ json-stable-stringify@1.0.1\r\n│ │ └── jsonify@0.0.0\r\n│ ├─┬ lodash.template@4.2.5\r\n│ │ ├── lodash._reinterpolate@3.0.0\r\n│ │ ├─┬ lodash.assigninwith@4.0.7\r\n│ │ │ └── lodash.keysin@4.1.4\r\n│ │ ├── lodash.keys@4.0.7\r\n│ │ ├── lodash.rest@4.0.3\r\n│ │ ├─┬ lodash.templatesettings@4.0.1\r\n│ │ │ └── lodash.escape@4.0.0\r\n│ │ └── lodash.tostring@4.1.3\r\n│ ├─┬ sane@1.3.5\r\n│ │ ├─┬ exec-sh@0.2.0\r\n│ │ │ └── merge@1.2.0\r\n│ │ ├── minimist@1.2.0\r\n│ │ ├─┬ walker@1.0.7\r\n│ │ │ └─┬ makeerror@1.0.11\r\n│ │ │   └── tmpl@1.0.4\r\n│ │ └── watch@0.10.0\r\n│ ├─┬ which@1.2.10\r\n│ │ └── isexe@1.1.2\r\n│ ├─┬ worker-farm@1.3.1\r\n│ │ ├─┬ errno@0.1.4\r\n│ │ │ └── prr@0.0.0\r\n│ │ └── xtend@4.0.1\r\n│ └─┬ yargs@4.7.1\r\n│   ├── camelcase@3.0.0\r\n│   ├─┬ cliui@3.2.0\r\n│   │ └── wrap-ansi@2.0.0\r\n│   ├── decamelize@1.2.0\r\n│   ├─┬ os-locale@1.4.0\r\n│   │ └─┬ lcid@1.0.0\r\n│   │   └── invert-kv@1.0.0\r\n│   ├─┬ pkg-conf@1.1.3\r\n│   │ ├─┬ load-json-file@1.1.0\r\n│   │ │ ├─┬ parse-json@2.2.0\r\n│   │ │ │ └─┬ error-ex@1.3.0\r\n│   │ │ │   └── is-arrayish@0.2.1\r\n│   │ │ ├── pify@2.3.0\r\n│   │ │ └─┬ strip-bom@2.0.0\r\n│   │ │   └── is-utf8@0.2.1\r\n│   │ ├── object-assign@4.1.0\r\n│   │ └── symbol@0.2.3\r\n│   ├── set-blocking@1.0.0\r\n│   ├─┬ string-width@1.0.1\r\n│   │ ├─┬ code-point-at@1.0.0\r\n│   │ │ └── number-is-nan@1.0.0\r\n│   │ └── is-fullwidth-code-point@1.0.0\r\n│   ├── window-size@0.2.0\r\n│   ├── y18n@3.2.1\r\n│   └─┬ yargs-parser@2.4.0\r\n│     └── camelcase@2.1.1\r\n├─┬ mocha@2.5.3\r\n│ ├── commander@2.3.0\r\n│ ├─┬ debug@2.2.0\r\n│ │ └── ms@0.7.1\r\n│ ├── diff@1.4.0\r\n│ ├── escape-string-regexp@1.0.2\r\n│ ├─┬ glob@3.2.11\r\n│ │ ├── inherits@2.0.1\r\n│ │ └─┬ minimatch@0.3.0\r\n│ │   ├── lru-cache@2.7.3\r\n│ │   └── sigmund@1.0.1\r\n│ ├── growl@1.9.2\r\n│ ├─┬ jade@0.26.3\r\n│ │ ├── commander@0.6.1\r\n│ │ └── mkdirp@0.3.0\r\n│ ├── supports-color@1.2.0\r\n│ └── to-iso-string@0.0.2\r\n└─┬ nyc@6.6.1\r\n  ├── append-transform@0.4.0\r\n  ├── arrify@1.0.1\r\n  ├─┬ caching-transform@1.0.1\r\n  │ └─┬ write-file-atomic@1.1.4\r\n  │   ├── graceful-fs@4.1.4\r\n  │   ├── imurmurhash@0.1.4\r\n  │   └── slide@1.1.6\r\n  ├── convert-source-map@1.2.0\r\n  ├─┬ default-require-extensions@1.0.0\r\n  │ └─┬ strip-bom@2.0.0\r\n  │   └── is-utf8@0.2.1\r\n  ├─┬ find-cache-dir@0.1.1\r\n  │ ├── commondir@1.0.1\r\n  │ └── pkg-dir@1.0.0\r\n  ├─┬ find-up@1.1.2\r\n  │ ├── path-exists@2.1.0\r\n  │ └─┬ pinkie-promise@2.0.1\r\n  │   └── pinkie@2.0.4\r\n  ├─┬ foreground-child@1.5.1\r\n  │ ├─┬ cross-spawn-async@2.2.4\r\n  │ │ └─┬ lru-cache@4.0.1\r\n  │ │   ├── pseudomap@1.0.2\r\n  │ │   └── yallist@2.0.0\r\n  │ ├── signal-exit@2.1.2\r\n  │ └─┬ which@1.2.10\r\n  │   └── isexe@1.1.2\r\n  ├─┬ glob@7.0.3\r\n  │ ├─┬ inflight@1.0.5\r\n  │ │ └── wrappy@1.0.2\r\n  │ ├── inherits@2.0.1\r\n  │ ├─┬ minimatch@3.0.0\r\n  │ │ └─┬ brace-expansion@1.1.4\r\n  │ │   ├── balanced-match@0.4.1\r\n  │ │   └── concat-map@0.0.1\r\n  │ ├─┬ once@1.3.3\r\n  │ │ └── wrappy@1.0.2\r\n  │ └── path-is-absolute@1.0.0\r\n  ├─┬ istanbul@0.4.3\r\n  │ ├── abbrev@1.0.7\r\n  │ ├── async@1.5.2\r\n  │ ├─┬ escodegen@1.8.0\r\n  │ │ ├── estraverse@1.9.3\r\n  │ │ ├── esutils@2.0.2\r\n  │ │ ├─┬ optionator@0.8.1\r\n  │ │ │ ├── deep-is@0.1.3\r\n  │ │ │ ├── fast-levenshtein@1.1.3\r\n  │ │ │ ├── levn@0.3.0\r\n  │ │ │ ├── prelude-ls@1.1.2\r\n  │ │ │ └── type-check@0.3.2\r\n  │ │ └─┬ source-map@0.2.0\r\n  │ │   └── amdefine@1.0.0\r\n  │ ├── esprima@2.7.2\r\n  │ ├─┬ fileset@0.2.1\r\n  │ │ ├─┬ glob@5.0.15\r\n  │ │ │ ├─┬ inflight@1.0.5\r\n  │ │ │ │ └── wrappy@1.0.2\r\n  │ │ │ ├── inherits@2.0.1\r\n  │ │ │ └── path-is-absolute@1.0.0\r\n  │ │ └─┬ minimatch@2.0.10\r\n  │ │   └─┬ brace-expansion@1.1.4\r\n  │ │     ├── balanced-match@0.4.1\r\n  │ │     └── concat-map@0.0.1\r\n  │ ├─┬ handlebars@4.0.5\r\n  │ │ ├─┬ optimist@0.6.1\r\n  │ │ │ ├── minimist@0.0.10\r\n  │ │ │ └── wordwrap@0.0.3\r\n  │ │ ├─┬ source-map@0.4.4\r\n  │ │ │ └── amdefine@1.0.0\r\n  │ │ └─┬ uglify-js@2.6.2\r\n  │ │   ├── async@0.2.10\r\n  │ │   ├── source-map@0.5.6\r\n  │ │   ├── uglify-to-browserify@1.0.2\r\n  │ │   └─┬ yargs@3.10.0\r\n  │ │     ├── camelcase@1.2.1\r\n  │ │     ├─┬ cliui@2.1.0\r\n  │ │     │ ├─┬ center-align@0.1.3\r\n  │ │     │ │ ├─┬ align-text@0.1.4\r\n  │ │     │ │ │ ├─┬ kind-of@3.0.3\r\n  │ │     │ │ │ │ └── is-buffer@1.1.3\r\n  │ │     │ │ │ ├── longest@1.0.1\r\n  │ │     │ │ │ └── repeat-string@1.5.4\r\n  │ │     │ │ └── lazy-cache@1.0.4\r\n  │ │     │ ├─┬ right-align@0.1.3\r\n  │ │     │ │ └─┬ align-text@0.1.4\r\n  │ │     │ │   ├─┬ kind-of@3.0.3\r\n  │ │     │ │   │ └── is-buffer@1.1.3\r\n  │ │     │ │   ├── longest@1.0.1\r\n  │ │     │ │   └── repeat-string@1.5.4\r\n  │ │     │ └── wordwrap@0.0.2\r\n  │ │     ├── decamelize@1.2.0\r\n  │ │     └── window-size@0.1.0\r\n  │ ├─┬ js-yaml@3.6.1\r\n  │ │ └─┬ argparse@1.0.7\r\n  │ │   └── sprintf-js@1.0.3\r\n  │ ├── nopt@3.0.6\r\n  │ ├─┬ once@1.3.3\r\n  │ │ └── wrappy@1.0.2\r\n  │ ├── resolve@1.1.7\r\n  │ ├─┬ supports-color@3.1.2\r\n  │ │ └── has-flag@1.0.0\r\n  │ ├─┬ which@1.2.10\r\n  │ │ └── isexe@1.1.2\r\n  │ └── wordwrap@1.0.0\r\n  ├─┬ md5-hex@1.3.0\r\n  │ └── md5-o-matic@0.1.1\r\n  ├─┬ micromatch@2.3.8\r\n  │ ├─┬ arr-diff@2.0.0\r\n  │ │ └── arr-flatten@1.0.1\r\n  │ ├── array-unique@0.2.1\r\n  │ ├─┬ braces@1.8.5\r\n  │ │ ├─┬ expand-range@1.8.2\r\n  │ │ │ └─┬ fill-range@2.2.3\r\n  │ │ │   ├── is-number@2.1.0\r\n  │ │ │   ├─┬ isobject@2.1.0\r\n  │ │ │   │ └── isarray@1.0.0\r\n  │ │ │   ├── randomatic@1.1.5\r\n  │ │ │   └── repeat-string@1.5.4\r\n  │ │ ├── preserve@0.2.0\r\n  │ │ └── repeat-element@1.1.2\r\n  │ ├─┬ expand-brackets@0.1.5\r\n  │ │ └── is-posix-bracket@0.1.1\r\n  │ ├── extglob@0.3.2\r\n  │ ├── filename-regex@2.0.0\r\n  │ ├── is-extglob@1.0.0\r\n  │ ├── is-glob@2.0.1\r\n  │ ├─┬ kind-of@3.0.3\r\n  │ │ └── is-buffer@1.1.3\r\n  │ ├── normalize-path@2.0.1\r\n  │ ├─┬ object.omit@2.0.0\r\n  │ │ ├─┬ for-own@0.1.4\r\n  │ │ │ └── for-in@0.1.5\r\n  │ │ └── is-extendable@0.1.1\r\n  │ ├─┬ parse-glob@3.0.4\r\n  │ │ ├─┬ glob-base@0.3.0\r\n  │ │ │ └── glob-parent@2.0.0\r\n  │ │ └── is-dotfile@1.0.2\r\n  │ └─┬ regex-cache@0.4.3\r\n  │   ├── is-equal-shallow@0.1.3\r\n  │   └── is-primitive@2.0.0\r\n  ├─┬ mkdirp@0.5.1\r\n  │ └── minimist@0.0.8\r\n  ├── pkg-up@1.0.0\r\n  ├── resolve-from@2.0.0\r\n  ├── rimraf@2.5.2\r\n  ├── signal-exit@3.0.0\r\n  ├── source-map@0.5.6\r\n  ├─┬ spawn-wrap@1.2.3\r\n  │ ├── os-homedir@1.0.1\r\n  │ ├── signal-exit@2.1.2\r\n  │ └─┬ which@1.2.10\r\n  │   └── isexe@1.1.2\r\n  ├─┬ test-exclude@1.1.0\r\n  │ ├─┬ lodash.assign@4.0.9\r\n  │ │ ├── lodash.keys@4.0.7\r\n  │ │ └── lodash.rest@4.0.3\r\n  │ ├─┬ read-pkg-up@1.0.1\r\n  │ │ └─┬ read-pkg@1.1.0\r\n  │ │   ├─┬ load-json-file@1.1.0\r\n  │ │   │ ├── graceful-fs@4.1.4\r\n  │ │   │ ├─┬ parse-json@2.2.0\r\n  │ │   │ │ └─┬ error-ex@1.3.0\r\n  │ │   │ │   └── is-arrayish@0.2.1\r\n  │ │   │ ├── pify@2.3.0\r\n  │ │   │ ├─┬ pinkie-promise@2.0.1\r\n  │ │   │ │ └── pinkie@2.0.4\r\n  │ │   │ └─┬ strip-bom@2.0.0\r\n  │ │   │   └── is-utf8@0.2.1\r\n  │ │   ├─┬ normalize-package-data@2.3.5\r\n  │ │   │ ├── hosted-git-info@2.1.5\r\n  │ │   │ ├─┬ is-builtin-module@1.0.0\r\n  │ │   │ │ └── builtin-modules@1.1.1\r\n  │ │   │ ├── semver@5.1.0\r\n  │ │   │ └─┬ validate-npm-package-license@3.0.1\r\n  │ │   │   ├─┬ spdx-correct@1.0.2\r\n  │ │   │   │ └── spdx-license-ids@1.2.1\r\n  │ │   │   └─┬ spdx-expression-parse@1.0.2\r\n  │ │   │     ├── spdx-exceptions@1.0.4\r\n  │ │   │     └── spdx-license-ids@1.2.1\r\n  │ │   └─┬ path-type@1.1.0\r\n  │ │     ├── graceful-fs@4.1.4\r\n  │ │     ├── pify@2.3.0\r\n  │ │     └─┬ pinkie-promise@2.0.1\r\n  │ │       └── pinkie@2.0.4\r\n  │ └── require-main-filename@1.0.1\r\n  └─┬ yargs@4.7.1\r\n    ├── camelcase@3.0.0\r\n    ├─┬ cliui@3.2.0\r\n    │ ├─┬ strip-ansi@3.0.1\r\n    │ │ └── ansi-regex@2.0.0\r\n    │ └── wrap-ansi@2.0.0\r\n    ├── decamelize@1.2.0\r\n    ├─┬ lodash.assign@4.0.9\r\n    │ ├── lodash.keys@4.0.7\r\n    │ └── lodash.rest@4.0.3\r\n    ├─┬ os-locale@1.4.0\r\n    │ └─┬ lcid@1.0.0\r\n    │   └── invert-kv@1.0.0\r\n    ├─┬ pkg-conf@1.1.3\r\n    │ ├─┬ load-json-file@1.1.0\r\n    │ │ ├── graceful-fs@4.1.4\r\n    │ │ ├─┬ parse-json@2.2.0\r\n    │ │ │ └─┬ error-ex@1.3.0\r\n    │ │ │   └── is-arrayish@0.2.1\r\n    │ │ ├── pify@2.3.0\r\n    │ │ ├─┬ pinkie-promise@2.0.1\r\n    │ │ │ └── pinkie@2.0.4\r\n    │ │ └─┬ strip-bom@2.0.0\r\n    │ │   └── is-utf8@0.2.1\r\n    │ ├── object-assign@4.1.0\r\n    │ └── symbol@0.2.3\r\n    ├─┬ read-pkg-up@1.0.1\r\n    │ └─┬ read-pkg@1.1.0\r\n    │   ├─┬ load-json-file@1.1.0\r\n    │   │ ├── graceful-fs@4.1.4\r\n    │   │ ├─┬ parse-json@2.2.0\r\n    │   │ │ └─┬ error-ex@1.3.0\r\n    │   │ │   └── is-arrayish@0.2.1\r\n    │   │ ├── pify@2.3.0\r\n    │   │ ├─┬ pinkie-promise@2.0.1\r\n    │   │ │ └── pinkie@2.0.4\r\n    │   │ └─┬ strip-bom@2.0.0\r\n    │   │   └── is-utf8@0.2.1\r\n    │   ├─┬ normalize-package-data@2.3.5\r\n    │   │ ├── hosted-git-info@2.1.5\r\n    │   │ ├─┬ is-builtin-module@1.0.0\r\n    │   │ │ └── builtin-modules@1.1.1\r\n    │   │ ├── semver@5.1.0\r\n    │   │ └─┬ validate-npm-package-license@3.0.1\r\n    │   │   ├─┬ spdx-correct@1.0.2\r\n    │   │   │ └── spdx-license-ids@1.2.1\r\n    │   │   └─┬ spdx-expression-parse@1.0.2\r\n    │   │     ├── spdx-exceptions@1.0.4\r\n    │   │     └── spdx-license-ids@1.2.1\r\n    │   └─┬ path-type@1.1.0\r\n    │     ├── graceful-fs@4.1.4\r\n    │     ├── pify@2.3.0\r\n    │     └─┬ pinkie-promise@2.0.1\r\n    │       └── pinkie@2.0.4\r\n    ├── require-main-filename@1.0.1\r\n    ├── set-blocking@1.0.0\r\n\r\n    │ ├─┬ code-point-at@1.0.0\r\n    │ │ └── number-is-nan@1.0.0\r\n    │ ├─┬ is-fullwidth-code-point@1.0.0\r\n    │ │ └── number-is-nan@1.0.0\r\n    │ └─┬ strip-ansi@3.0.1\r\n    │   └── ansi-regex@2.0.0\r\n    ├── window-size@0.2.0\r\n    ├── y18n@3.2.1\r\n    └─┬ yargs-parser@2.4.0\r\n      └── camelcase@2.1.1\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/facebook/jest/issues/comments/240929980","html_url":"https://github.com/facebook/jest/issues/1214#issuecomment-240929980","issue_url":"https://api.github.com/repos/facebook/jest/issues/1214","id":240929980,"user":{"login":"Daniel15","id":91933,"avatar_url":"https://avatars.githubusercontent.com/u/91933?v=3","gravatar_id":"","url":"https://api.github.com/users/Daniel15","html_url":"https://github.com/Daniel15","followers_url":"https://api.github.com/users/Daniel15/followers","following_url":"https://api.github.com/users/Daniel15/following{/other_user}","gists_url":"https://api.github.com/users/Daniel15/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel15/subscriptions","organizations_url":"https://api.github.com/users/Daniel15/orgs","repos_url":"https://api.github.com/users/Daniel15/repos","events_url":"https://api.github.com/users/Daniel15/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel15/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T05:16:10Z","updated_at":"2016-08-19T05:16:10Z","body":"Looks like the issue on Windows blames to #1379 (b56e36832d211c626894bff2591e9b152d14ba5b). I created a separate issue to look into it: #1462. Thanks for reporting, @ManuelDeLeon!"}}
{"actor":{"display_login":"Daniel15"}}