{"action":"closed","issue":{"url":"https://api.github.com/repos/MajorLeagueBaseball/g5-component/issues/6","labels_url":"https://api.github.com/repos/MajorLeagueBaseball/g5-component/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/MajorLeagueBaseball/g5-component/issues/6/comments","events_url":"https://api.github.com/repos/MajorLeagueBaseball/g5-component/issues/6/events","html_url":"https://github.com/MajorLeagueBaseball/g5-component/issues/6","id":101077940,"number":6,"title":"test builds don't transpile imports from node_modules","user":{"login":"kuhe","id":755743,"avatar_url":"https://avatars.githubusercontent.com/u/755743?v=3","gravatar_id":"","url":"https://api.github.com/users/kuhe","html_url":"https://github.com/kuhe","followers_url":"https://api.github.com/users/kuhe/followers","following_url":"https://api.github.com/users/kuhe/following{/other_user}","gists_url":"https://api.github.com/users/kuhe/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhe/subscriptions","organizations_url":"https://api.github.com/users/kuhe/orgs","repos_url":"https://api.github.com/users/kuhe/repos","events_url":"https://api.github.com/users/kuhe/events{/privacy}","received_events_url":"https://api.github.com/users/kuhe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"gbabula","id":770123,"avatar_url":"https://avatars.githubusercontent.com/u/770123?v=3","gravatar_id":"","url":"https://api.github.com/users/gbabula","html_url":"https://github.com/gbabula","followers_url":"https://api.github.com/users/gbabula/followers","following_url":"https://api.github.com/users/gbabula/following{/other_user}","gists_url":"https://api.github.com/users/gbabula/gists{/gist_id}","starred_url":"https://api.github.com/users/gbabula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbabula/subscriptions","organizations_url":"https://api.github.com/users/gbabula/orgs","repos_url":"https://api.github.com/users/gbabula/repos","events_url":"https://api.github.com/users/gbabula/events{/privacy}","received_events_url":"https://api.github.com/users/gbabula/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-14T18:47:47Z","updated_at":"2015-09-22T17:31:04Z","closed_at":"2015-09-22T17:31:04Z","body":"If you have\r\n\r\n    import { something } from 'es6module/something';\r\n\r\nin component code, the babel transform by browserify, such as during the build or watch-js scripts works fine.\r\n\r\nThe task npm test however, does not pass those imports from node_modules through babel, preventing the test from running. \r\n\r\nThis doesn't seem to be specific to babel-tape-runner, since\r\n\r\n    mocha --compilers js:babel/register\r\n\r\nproduced the same result.\r\n\r\nI'd appreciate a link to a solution if someone finds a flag or something that works around this. I couldn't google it out."}}