{"action":"opened","issue":{"url":"https://api.github.com/repos/theintern/intern/issues/492","labels_url":"https://api.github.com/repos/theintern/intern/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/theintern/intern/issues/492/comments","events_url":"https://api.github.com/repos/theintern/intern/issues/492/events","html_url":"https://github.com/theintern/intern/issues/492","id":106626877,"number":492,"title":"Code coverage no longer shown after I set basePath","user":{"login":"DavidSimnerRG","id":2973219,"avatar_url":"https://avatars.githubusercontent.com/u/2973219?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidSimnerRG","html_url":"https://github.com/DavidSimnerRG","followers_url":"https://api.github.com/users/DavidSimnerRG/followers","following_url":"https://api.github.com/users/DavidSimnerRG/following{/other_user}","gists_url":"https://api.github.com/users/DavidSimnerRG/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidSimnerRG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidSimnerRG/subscriptions","organizations_url":"https://api.github.com/users/DavidSimnerRG/orgs","repos_url":"https://api.github.com/users/DavidSimnerRG/repos","events_url":"https://api.github.com/users/DavidSimnerRG/events{/privacy}","received_events_url":"https://api.github.com/users/DavidSimnerRG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-15T19:21:40Z","updated_at":"2015-09-15T19:21:40Z","closed_at":null,"body":"Bug found on a Mac running intern 3.0.3\r\n\r\nWhen I set basePath in the config file, code coverage is no longer shown.  Commenting out this line:\r\n\r\nhttps://github.com/theintern/intern/blob/d42dd4e16234cebfdf3881d52b84032edf35a6e7/lib/util.js#L745\r\n\r\nfixes the issue.\r\n\r\n\r\nBasically, filename is something like:\r\n\r\n/Users/me/Documents/project/tests/myTests.js\r\n\r\nWhereas, basePath is something like:\r\n\r\napp/\r\n\r\nGiven that one is absolute and the other is relative, a startsWith test (indexOf === 0) doesn't work properly.\r\n\r\nCan you please fix the code so that code coverage works for me when I set basePath.  I guess this will probably involve making both paths absolute before this line of code executes."}}