我已经安装了chrome jet brain扩展
我有这样的测试:
describe('Service tests', function () {
beforeEach(module('app'));
it('should have a Service', inject(function($injector) {
var exist = $injector.has('dataService');
等等
但是在测试中无法获得断点命中的运气。编写调试器时,我可以使调试器中断,但是无法单步执行。
您是否在业力配置中设置了业力覆盖?它使用检测代码,因此无法进行调试。相关票证:http : //github.com/karma-runner/karma/issues/630,http : //youtrack.jetbrains.com/issue/WEB-8443
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句