Make exposure of addMatchers and addCustomEqualityTesters be on jasmine instead of inconsistent.

This commit is contained in:
Davis W. Frank
2013-10-10 11:32:21 -07:00
parent 55716723b5
commit 8ca8197b4c
4 changed files with 16 additions and 16 deletions

View File

@@ -38,10 +38,6 @@
return env.pending();
},
addMatchers: function(matchers) {
return env.addMatchers(matchers);
},
spyOn: function(obj, methodName) {
return env.spyOn(obj, methodName);
},
@@ -58,6 +54,14 @@
extend(window, jasmineInterface);
}
jasmine.addCustomEqualityTester = function(tester) {
env.addCustomEqualityTester(tester);
};
jasmine.addMatchers = function(matchers) {
return env.addMatchers(matchers);
};
var queryString = new jasmine.QueryString({
getWindowLocation: function() { return window.location; }
});