在通过伟大的yeoman generator-ember (Version0.7.1)生成一个generator-ember项目之后,我尝试使用集成的mocha执行测试。grunt testnpm testReferenceError: Ember is not defined这就是上面提到的测试..。
在我的测试目录中,我有一个包含以下内容的文件mocha.opts:--recursive--reporter spec当我运行mocha时,会得到以下错误:constSyntaxError: Use of const in strict当然,这是因为我使用const需要ES6和谐。当我运行mocha</