1

ember testプロジェクトで実行すると、このエラーが発生します


    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 アプリを作成し、そのようなエラーなしでいくつかの受け入れテストを作成したため、ember-cli またはパッケージの問題ではありません。このエラーをトレースまたはデバッグする方法がわかりません。

4

1 に答える 1