こんにちは、カルマ テスト ランの実行中に webstorm で次のエラーが発生します。
Error: [$injector:nomod] Module 'ui.bootstrap', 'ui.unique' is not available!
You either misspelled the module name or forgot to load it.
If registering a module ensure that you specify the dependencies as the second argument.
インターネットを調べたところ、依存ファイル ui.bootstrap がそのように見逃されている可能性があることを確認するように言われました。
しかし、アプリケーションは正常に動作します
テスト中にのみこのエラーが表示されます
私のkarma.conf.jsで
files: [
//angular files
'app/js/vendor/angular/ui.bootstrap.js',
'app/js/vendor/angular/ui.bootstrap-0.10.0.js',
'app/js/vendor/angular/angular.js',
'app/js/vendor/angular/angular-mocks-0.10.6.js',
'app/js/app.js',
'test/**/*Spec.js'
],
私のモジュール宣言で
var myApp = angular.module('myApp', ['ui.bootstrap']);
助けていただけませんか??