Javascript 在Karma Angularjs测试期间,模块加载PhantomJS,但不加载Chrome Headless 模块以正确的顺序加载到karma.conf.js中 它是唯一一个没有加载很多单元测试的模块,在2000年,只有12个单元测试失败 适用于phantomjs,但不适用于chrome

Javascript 在Karma Angularjs测试期间,模块加载PhantomJS,但不加载Chrome Headless 模块以正确的顺序加载到karma.conf.js中 它是唯一一个没有加载很多单元测试的模块,在2000年,只有12个单元测试失败 适用于phantomjs,但不适用于chrome,javascript,angularjs,karma-jasmine,google-chrome-headless,Javascript,Angularjs,Karma Jasmine,Google Chrome Headless,原因可能是什么 [$injector:nomod] Module 'XXX' 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.

原因可能是什么

[$injector:nomod] Module 'XXX' 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.