{"action":"created","issue":{"url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/6","labels_url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/6/comments","events_url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/6/events","html_url":"https://github.com/tswaters/atom-mocha-runner/issues/6","id":115222012,"number":6,"title":"How to get it running with babel?","user":{"login":"lanwin","id":15905,"avatar_url":"https://avatars.githubusercontent.com/u/15905?v=3","gravatar_id":"","url":"https://api.github.com/users/lanwin","html_url":"https://github.com/lanwin","followers_url":"https://api.github.com/users/lanwin/followers","following_url":"https://api.github.com/users/lanwin/following{/other_user}","gists_url":"https://api.github.com/users/lanwin/gists{/gist_id}","starred_url":"https://api.github.com/users/lanwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanwin/subscriptions","organizations_url":"https://api.github.com/users/lanwin/orgs","repos_url":"https://api.github.com/users/lanwin/repos","events_url":"https://api.github.com/users/lanwin/events{/privacy}","received_events_url":"https://api.github.com/users/lanwin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T07:07:41Z","updated_at":"2015-11-18T02:35:43Z","closed_at":"2015-11-18T02:35:33Z","body":"I use ES2015 within my tests so I use it with babel as transpiler. With mocha this works via \"--require=babel/register\" or with \"--compilers js:babel/register\" but since mocha runs within Atom, it seems it can not load the local npm package. "},"comment":{"url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/comments/157578087","html_url":"https://github.com/tswaters/atom-mocha-runner/issues/6#issuecomment-157578087","issue_url":"https://api.github.com/repos/tswaters/atom-mocha-runner/issues/6","id":157578087,"user":{"login":"tswaters","id":7309368,"avatar_url":"https://avatars.githubusercontent.com/u/7309368?v=3","gravatar_id":"","url":"https://api.github.com/users/tswaters","html_url":"https://github.com/tswaters","followers_url":"https://api.github.com/users/tswaters/followers","following_url":"https://api.github.com/users/tswaters/following{/other_user}","gists_url":"https://api.github.com/users/tswaters/gists{/gist_id}","starred_url":"https://api.github.com/users/tswaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tswaters/subscriptions","organizations_url":"https://api.github.com/users/tswaters/orgs","repos_url":"https://api.github.com/users/tswaters/repos","events_url":"https://api.github.com/users/tswaters/events{/privacy}","received_events_url":"https://api.github.com/users/tswaters/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T02:35:43Z","updated_at":"2015-11-18T02:35:43Z","body":"Thanks for the report. \r\n\r\nTwo bugs here, \r\n\r\n* passing the equals sign a la `--require=babel/register` made it break\r\n\r\n* the require was running from the directory of the plugin, not the project directory.\r\n\r\nI've fixed both of these, should be pushed up with 1.1.7"}}