{"action":"created","issue":{"url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/20","repository_url":"https://api.github.com/repos/UIUXEngineering/karma-jspm","labels_url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/20/comments","events_url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/20/events","html_url":"https://github.com/UIUXEngineering/karma-jspm/issues/20","id":189502614,"number":20,"title":"remapped coverage is not accurate","user":{"login":"ashhamp","id":16440596,"avatar_url":"https://avatars.githubusercontent.com/u/16440596?v=3","gravatar_id":"","url":"https://api.github.com/users/ashhamp","html_url":"https://github.com/ashhamp","followers_url":"https://api.github.com/users/ashhamp/followers","following_url":"https://api.github.com/users/ashhamp/following{/other_user}","gists_url":"https://api.github.com/users/ashhamp/gists{/gist_id}","starred_url":"https://api.github.com/users/ashhamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashhamp/subscriptions","organizations_url":"https://api.github.com/users/ashhamp/orgs","repos_url":"https://api.github.com/users/ashhamp/repos","events_url":"https://api.github.com/users/ashhamp/events{/privacy}","received_events_url":"https://api.github.com/users/ashhamp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T20:49:00Z","updated_at":"2016-11-23T08:30:51Z","closed_at":null,"body":"I have everything set up and it runs and produces coverage but the remapped html file is not accurate at all.  Skips all functions and says they are not covered when they are.\r\n\r\nAny idea how to make the remapping more accurate?  Also when I take out the `remap: true` it throws this error: \r\n`ERROR [coverage]: TypeError: Cannot convert undefined or null to object\r\n    at Function.keys (<anonymous>)\r\n    at Object.addDerivedInfoForFile (/Users/ash/pixability/user-management-ui/www/node_modules/istanbul/lib/object-utils.js:58:20)`\r\n\r\nHere is the karma config:\r\n\r\n```module.exports = function(config) {\r\n  config.set({\r\n    logLevel: config.LOG_INFO,\r\n    // basePath: '.',\r\n    browserNoActivityTimeout: 60000,\r\n    browsers: ['Chrome'],\r\n    frameworks: ['jspm', 'jasmine'],\r\n\r\n    jspm: {\r\n        // defaultJSExtensions: false,\r\n        jspmConfig: 'jspm-config.js',\r\n        files: ['app/**/*', 'test/**/*.ts', 'typings/tsd.d.ts' ],\r\n        packages: 'jspm_packages',\r\n        // stripExtension: false\r\n    },\r\n\r\n    plugins: [\r\n      'karma-uiuxengineering-jspm',\r\n      'karma-jasmine',\r\n      'karma-chrome-launcher'\r\n    ],\r\n\r\n    preprocessors: {\r\n      'app/**/*.ts': ['jspm']\r\n    },\r\n\r\n    reporters: ['jspm'],\r\n\r\n    proxies: {\r\n        '/app/': '/base/app/',\r\n        '/test/': '/base/test/',\r\n        '/jspm_packages/': '/base/jspm_packages/',\r\n        '/typings/': '/base/typings/',\r\n    },\r\n\r\n    coverageReporter: {\r\n\r\n      // map coverage to source typescript or es6 files.\r\n      // remap: true,\r\n\r\n      dir: process.cwd() + '/coverage',\r\n\r\n      reporters: [\r\n\r\n        // will generate html report\r\n        {type: 'html'},\r\n\r\n        // will generate json report file and this report is loaded to\r\n        // make sure failed coverage cause gulp to exit non-zero\r\n        {type: 'json', file: 'coverage-final.json'},\r\n\r\n        // will generate Icov report file and this report is published to coveralls\r\n        {type: 'lcov'},\r\n\r\n        // it does not generate any file but it will print coverage to console\r\n        // a summary of the coverage\r\n        {type: 'text-summary'},\r\n\r\n        // it does not generate any file but it will print coverage to console\r\n        // a detail report of every file\r\n        {type: 'text'}\r\n      ]\r\n    }\r\n\r\n  });\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/comments/262456772","html_url":"https://github.com/UIUXEngineering/karma-jspm/issues/20#issuecomment-262456772","issue_url":"https://api.github.com/repos/UIUXEngineering/karma-jspm/issues/20","id":262456772,"user":{"login":"jerryorta-dev","id":341155,"avatar_url":"https://avatars.githubusercontent.com/u/341155?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryorta-dev","html_url":"https://github.com/jerryorta-dev","followers_url":"https://api.github.com/users/jerryorta-dev/followers","following_url":"https://api.github.com/users/jerryorta-dev/following{/other_user}","gists_url":"https://api.github.com/users/jerryorta-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryorta-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryorta-dev/subscriptions","organizations_url":"https://api.github.com/users/jerryorta-dev/orgs","repos_url":"https://api.github.com/users/jerryorta-dev/repos","events_url":"https://api.github.com/users/jerryorta-dev/events{/privacy}","received_events_url":"https://api.github.com/users/jerryorta-dev/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T08:30:51Z","updated_at":"2016-11-23T08:30:51Z","body":"Thank you for the feedback."}}
{"actor":{"display_login":"jerryorta-dev"}}