{"action":"reopened","issue":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/695","repository_url":"https://api.github.com/repos/aurelia/skeleton-navigation","labels_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/695/comments","events_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/695/events","html_url":"https://github.com/aurelia/skeleton-navigation/issues/695","id":182387139,"number":695,"title":"skeleton-esnext-webpack test coverage report html files get put into src folder ","user":{"login":"stevies","id":1218691,"avatar_url":"https://avatars.githubusercontent.com/u/1218691?v=3","gravatar_id":"","url":"https://api.github.com/users/stevies","html_url":"https://github.com/stevies","followers_url":"https://api.github.com/users/stevies/followers","following_url":"https://api.github.com/users/stevies/following{/other_user}","gists_url":"https://api.github.com/users/stevies/gists{/gist_id}","starred_url":"https://api.github.com/users/stevies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevies/subscriptions","organizations_url":"https://api.github.com/users/stevies/orgs","repos_url":"https://api.github.com/users/stevies/repos","events_url":"https://api.github.com/users/stevies/events{/privacy}","received_events_url":"https://api.github.com/users/stevies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-11T22:08:50Z","updated_at":"2016-10-11T22:43:11Z","closed_at":null,"body":"<!--\r\nBUGS: Please use this template.\r\n\r\nSUPPORT REQUESTS/QUESTIONS: If you have a support request or question please\r\nsubmit them to StackOverflow using the tag `[aurelia]`\r\nhttp://stackoverflow.com/questions/tagged/aurelia\r\nor the Aurelia Gitter https://gitter.im/aurelia/discuss\r\n\r\nBlue Spire offers paid support agreements. Further information regarding paid support\r\nmay be obtained by emailing support@bluespire.com\r\n\r\nFuture support requests submitted here will be closed.\r\n\r\nThe HTML comments below are for your reference, and are not displayed\r\nwhen your issue is submitted, feel free to leave them.\r\n\r\nChoose one of the two headings, delete the other.\r\n-->\r\n* **Aurelia Skeleton Version**\r\nskeleton-esnext-webpack\r\n\r\nFollowing on from #541 - there is also a problem with coverage reporting in the skeleton-esnext-webpack.\r\n\r\nThe webpack skeleton is set up to only generate JSON - but you can change the reporter entry in karma.conf.js to get HTML reports.\r\n\r\n    coverageReporter: {\r\n      reporters: [\r\n        {\r\n          type: 'json',\r\n          subdir: '.',\r\n          file: 'coverage-final.json'\r\n        },\r\n        {\r\n          type: 'html',\r\n          dir: './coverage'\r\n        }\r\n      ]\r\n    },\r\n\r\nThe reports are showing coverage of the transpiled code - not the original source. \r\n\r\nAlso - I see a problem that if you run the test / coverage twice, some coverage report files get dumped into the src folder.  These files appear to be reports on the non-transpiled source - but html image and css resource file paths are broken, so they don't display nicely.  Plus, you don't want them in the src folder :-}  \r\n\r\n![image](https://cloud.githubusercontent.com/assets/1218691/19290187/65cdfbac-9006-11e6-9ba9-0243ae0e199a.png)\r\n\r\nI have stopped these files getting generated by modifying the test runner script in package.json to delete the coverage directory before running:\r\n\r\n      \"test\": \"rimraf test/coverage && cross-env NODE_ENV=test ./node_modules/karma/bin/karma start test/karma.conf.js\",\r\n \r\n"}}
{"actor":{"display_login":"niieani"}}