Javascript 在karma.conf.js中包含依赖项时出现未定义错误

Javascript 在karma.conf.js中包含依赖项时出现未定义错误,javascript,angularjs,karma-jasmine,Javascript,Angularjs,Karma Jasmine,我试图在karma.conf.js中包含所有依赖项 '../node_modules/**/*.js', '../bower_components/**/*.js', 在这里,我已经包括了所有。将错误获取为模块未定义错误 所以我试着按照顺序来做 '../bower_components/jquery/dist/jquery.js', '../bower_components/angular/angular.js', '../bower_components/an

我试图在karma.conf.js中包含所有依赖项

'../node_modules/**/*.js',
 '../bower_components/**/*.js',
在这里,我已经包括了所有。将错误获取为模块未定义错误

所以我试着按照顺序来做

 '../bower_components/jquery/dist/jquery.js',
       '../bower_components/angular/angular.js',
       '../bower_components/angular-mocks/angular-mocks.js',
所以它工作得很好,但我需要检查所有依赖项。看起来,按顺序包括所有模块

如何在karma.conf.js中定义所有依赖项

'../node_modules/**/*.js',
 '../bower_components/**/*.js',