Angular Unit-Testing: TypeError ‘angular.element.cleanData is not a function’
When angular and angular-mocks to not agree, go ahead and make sure they are of the same version. Otherwise, your tests will be testing to you.
When angular and angular-mocks to not agree, go ahead and make sure they are of the same version. Otherwise, your tests will be testing to you.