{"action":"created","issue":{"url":"https://api.github.com/repos/istanbuljs/nyc/issues/305","repository_url":"https://api.github.com/repos/istanbuljs/nyc","labels_url":"https://api.github.com/repos/istanbuljs/nyc/issues/305/labels{/name}","comments_url":"https://api.github.com/repos/istanbuljs/nyc/issues/305/comments","events_url":"https://api.github.com/repos/istanbuljs/nyc/issues/305/events","html_url":"https://github.com/istanbuljs/nyc/issues/305","id":164625782,"number":305,"title":"Unable to reproduce coverage","user":{"login":"kdex","id":4442505,"avatar_url":"https://avatars.githubusercontent.com/u/4442505?v=3","gravatar_id":"","url":"https://api.github.com/users/kdex","html_url":"https://github.com/kdex","followers_url":"https://api.github.com/users/kdex/followers","following_url":"https://api.github.com/users/kdex/following{/other_user}","gists_url":"https://api.github.com/users/kdex/gists{/gist_id}","starred_url":"https://api.github.com/users/kdex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdex/subscriptions","organizations_url":"https://api.github.com/users/kdex/orgs","repos_url":"https://api.github.com/users/kdex/repos","events_url":"https://api.github.com/users/kdex/events{/privacy}","received_events_url":"https://api.github.com/users/kdex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-08T22:10:17Z","updated_at":"2016-07-09T00:44:46Z","closed_at":null,"body":"I noticed that my (locally working) coverage reports showed up as empty on Travis, so I dug around and found #190, which should have been fixed in `nyc@6.2.1`.\r\n\r\nConsequently, I tried to reproduce the empty report locally, so I cloned [my repository](https://github.com/kdex/map-game) to some other local directory and ran `npm test` (and unaliased variations such as `nyc ava test/**/*.js`, too).\r\n\r\nIn my new clone, I can't find a way to reproduce the coverage reports, although the `node_modules` directories should be identical, so I suppose that this is not a Travis issue. (I've double-checked by `rm -rf`ing both `node_modules` directories and `npm install`ing again, on the same machine, with the same `npm` version.)\r\n\r\nI've also tried `npm install nyc@next` in both; but it's still the same. My old clone runs all tests fine and reads:\r\n\r\n```\r\n----------------|----------|----------|----------|----------|----------------|\r\nFile            |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\r\n----------------|----------|----------|----------|----------|----------------|\r\nAll files       |    67.86 |       50 |    63.64 |    67.86 |                |\r\n client/js      |    57.14 |       50 |    63.64 |    57.14 |                |\r\n  ClientCore.js |        0 |        0 |        0 |        0 |... 36,38,39,42 |\r\n  cache.js      |    78.57 |      100 |    85.71 |    78.57 |       41,42,43 |\r\n  util.js       |      100 |      100 |      100 |      100 |                |\r\n server/js      |      100 |      100 |      100 |      100 |                |\r\n  units.js      |      100 |      100 |      100 |      100 |                |\r\n----------------|----------|----------|----------|----------|----------------|\r\n```\r\nand new old clone runs all tests fine but reads:\r\n```\r\n----------|----------|----------|----------|----------|----------------|\r\nFile      |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\r\n----------|----------|----------|----------|----------|----------------|\r\nAll files |  Unknown |  Unknown |  Unknown |  Unknown |                |\r\n----------|----------|----------|----------|----------|----------------|\r\n```\r\n\r\nWhat am I missing here?\r\n\r\nEdit:\r\n\r\n```\r\n$ npm version\r\n3.10.2\r\n$ nyc --version\r\n7.0.0-alpha.5\r\n$ node --version\r\nv6.2.2\r\n```"},"comment":{"url":"https://api.github.com/repos/istanbuljs/nyc/issues/comments/231503891","html_url":"https://github.com/istanbuljs/nyc/issues/305#issuecomment-231503891","issue_url":"https://api.github.com/repos/istanbuljs/nyc/issues/305","id":231503891,"user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T00:44:46Z","updated_at":"2016-07-09T00:44:46Z","body":"I haven't the slightest idea why this would be happening, but I would not be surprised to find out that `ava-jspm-loader` was involved. We are piling transforms on top of transforms here, so it seems a likely culprit. I don't think anybody on the AVA core team has really spent much time with it (I personally have no clue how it works), so your best bet is to ping @skorlir.\r\n\r\n\r\n"}}
{"actor":{"display_login":"jamestalmage"}}