{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1196","labels_url":"https://api.github.com/repos/babel/babel/issues/1196/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1196/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1196/events","html_url":"https://github.com/babel/babel/issues/1196","id":67021609,"number":1196,"title":"mocha can't seem to find mocha.opts in `make test`","user":{"login":"amasad","id":587518,"avatar_url":"https://avatars.githubusercontent.com/u/587518?v=3","gravatar_id":"","url":"https://api.github.com/users/amasad","html_url":"https://github.com/amasad","followers_url":"https://api.github.com/users/amasad/followers","following_url":"https://api.github.com/users/amasad/following{/other_user}","gists_url":"https://api.github.com/users/amasad/gists{/gist_id}","starred_url":"https://api.github.com/users/amasad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amasad/subscriptions","organizations_url":"https://api.github.com/users/amasad/orgs","repos_url":"https://api.github.com/users/amasad/repos","events_url":"https://api.github.com/users/amasad/events{/privacy}","received_events_url":"https://api.github.com/users/amasad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T00:44:57Z","updated_at":"2015-04-08T01:08:51Z","closed_at":"2015-04-08T01:07:26Z","body":"On a fresh clone and following the steps in the [contributing guide](https://github.com/babel/babel/blob/master/CONTRIBUTING.md), running the tests using `make test` will result in:\r\n\r\n```\r\nnode test/acorn/run.js\r\nNormal parser: 1120 tests run in 316ms; all passed.\r\nTotal: 1120 tests run in 316ms; all passed.\r\nnode node_modules/mocha/bin/_mocha test/core\r\n/Users/amasad/code/babel/test/core/api.js:6\r\nsuite(\"api\", function () {\r\n^\r\nReferenceError: suite is not defined\r\n    at Object.<anonymous> (/Users/amasad/code/babel/test/core/api.js:6:1)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at /Users/amasad/code/babel/node_modules/mocha/lib/mocha.js:192:27\r\n    at Array.forEach (native)\r\n    at Mocha.loadFiles (/Users/amasad/code/babel/node_modules/mocha/lib/mocha.js:189:14)\r\n    at Mocha.run (/Users/amasad/code/babel/node_modules/mocha/lib/mocha.js:422:31)\r\n    at Object.<anonymous> (/Users/amasad/code/babel/node_modules/mocha/bin/_mocha:393:16)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3\r\nmake: *** [test] Error 1\r\n```\r\n\r\nHowever, when running via `node node_modules/mocha/bin/_mocha --ui tdd test/core/` will work."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/90772483","html_url":"https://github.com/babel/babel/issues/1196#issuecomment-90772483","issue_url":"https://api.github.com/repos/babel/babel/issues/1196","id":90772483,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T01:08:51Z","updated_at":"2015-04-08T01:08:51Z","body":"Looks like fixing the version fixes this, I've followed up on the `mocha` repo as it looks to be a regression."}}