We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0af13f commit dfba8fbCopy full SHA for dfba8fb
src/angular-mocks.js
@@ -111,7 +111,7 @@ function MockBrowser() {
111
throw new Error("Unexpected request for method '" + method + "' and url '" + url + "'.");
112
}
113
requests.push(function(){
114
- forEach(expectation.headers, function(value, key){
+ angular.forEach(expectation.headers, function(value, key){
115
if (headers[key] !== value) {
116
throw new Error("Missing HTTP request header: " + key + ": " + value);
117
0 commit comments