Testacular: encountered a declaration exception
问题 I have defined a empty module in angular.js: angular.module('todoList', [], function () { }) then I want test it, in my conf.js , I load these javascript: files = [ JASMINE, JASMINE_ADAPTER, // lib '../js/lib/angular.min.js', '../js/lib/jquery-1.9.1.min.js', // our app '../js/project.js', // test file "test/*.js" ]; Then I want test it in test file: describe('My own function', function(){ beforeEach(module('todoList')); }); but this step tell me FAILED My own function encountered a