karma + jasmine + webpack: module is not a function

I cannot instantiate a controller because of this error, it says: module is not a function What module is supposed to do is being an alias of angular.mock, but my question is: Can it be that mod...