1
当我运行一个项目ember test
我收到此错误灰烬试验失败对进口到config /环境
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' }
...
我不知道如何调试这一点,因为这在测试中正在发生的事情套件和没有窗口调试和放置debugger;
没有帮助。这也是别人的项目。
这在ember-cli或任何软件包中都没有问题,因为我创建了一个新的应用程序并编写了一些没有任何错误的验收测试。我不知道如何跟踪或调试此错误。
请重新格式化您的问题中的代码/报价块。 – okket