Ember Testing を使用して自動テストを統合しようとしています。
アプリケーションはブラウザ上で正常に動作し、エラーは発生しません。シンプルに走ってみた
ember test
コマンドラインで実行しますが、一連のグローバルエラーが発生し、すべてのテストが失敗します。
これらは私が得ているエラーです:
not ok 1 PhantomJS 2.1 - Global error: SyntaxError: Unexpected token ',' at http://localhost:4302/assets/vendor.js, line 145617
not ok 2 PhantomJS 2.1 - Global error: Error: Could not find module ember-metal/core required by: ember-testing/index at http://localhost:4302/assets/test-support.js, line 62
not ok 3 PhantomJS 2.1 - Global error: ReferenceError: Can't find variable: define at http://localhost:4302/assets/tests.js, line 1
...
ブラウザーでテストを実行すると、構文エラー (上記の最初のエラー) は発生しません。最初のエラーは次のとおりです。
Uncaught Error: Could not find module `analogue/resolver` imported from `analogue/tests/helpers/resolver`
vendor.js を編集するべきではなく、見つからないというモジュールがあるため、これらは意味がありません。何か案は?