Ember.js 在配置/环境中导入时余烬测试失败

Ember.js 在配置/环境中导入时余烬测试失败,ember.js,requirejs,phantomjs,ember-testing,Ember.js,Requirejs,Phantomjs,Ember Testing,当我在一个项目上运行ember test时,我得到了这个错误 我不知道如何调试它,因为这是在测试套件中发生的,并且没有调试和放置调试器的窗口没有帮助。这也是别人的项目 这在ember cli或任何软件包中都不是问题,因为我创建了一个新的ember应用程序,并编写了一些验收测试,没有任何此类错误。我不确定如何跟踪或调试此错误 我有这个问题,它是一个严格的模式错误。实际上,我在控制器上声明了两个同名的属性。 您可以通过将phantomjs安装到端口上,然后在那里浏览来调试它 将其放入您的teste

当我在一个项目上运行
ember test
时,我得到了这个错误


我不知道如何调试它,因为这是在测试套件中发生的,并且没有调试和放置
调试器的窗口没有帮助。这也是别人的项目


这在ember cli或任何软件包中都不是问题,因为我创建了一个新的ember应用程序,并编写了一些验收测试,没有任何此类错误。我不确定如何跟踪或调试此错误

我有这个问题,它是一个严格的模式错误。实际上,我在控制器上声明了两个同名的属性。 您可以通过将phantomjs安装到端口上,然后在那里浏览来调试它

将其放入您的
testem.json

“phantomjs_debug_port”:9000


然后浏览到
localhost:9000
的第二个链接,该链接将向您发送幻影开发工具

请重新格式化问题中的代码/报价栏。
    Log: |
        { type: 'error',
          text: 'Error: Could not find module `otherapp/config/environment` imported from `otherapp/tests/helpers/resolver` at http://localhost:7357/assets/vendor.js, line 173\n' }
...
not ok 2 PhantomJS 2.1 - Global error: Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js". at http://localhost:7357/assets/vendor.js, line 15359
---
    Log: |
        { type: 'error',
          text: 'Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js". at http://localhost:7357/assets/vendor.js, line 15359\n' }
...