When implementing Karma in an AngularJS application with a version, the 1.3.16module angular-mocksthrows the following error:
angular -mocks.js: Uncaught TypeError: angular.module (...). information is not a function
After searching the Internet, it turned out that the Karma version used by ie 1.5.0and the AngularJS version are not compatible. The used version of angular -mocks is 1.6.3.
So, after a Google search, there was no way to find out which version of AngularJS is compatible with which version of Karma or angular -Mocks. Any help is appreciated.
source
share