Make addCustomEqualityTester available on jasmine global

- User shouldn't have to `jasmine.getEnv()` to add one
This commit is contained in:
slackersoft
2013-10-06 11:05:35 -07:00
parent af4bfa8bc4
commit 144ff174f6
2 changed files with 10 additions and 0 deletions

View File

@@ -69,6 +69,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
},
clock: env.clock,
addCustomEqualityTester: function(tester) {
env.addCustomEqualityTester(tester);
},
jsApiReporter: new jasmine.JsApiReporter({
timer: new jasmine.Timer()
})

View File

@@ -48,6 +48,11 @@
},
clock: env.clock,
addCustomEqualityTester: function(tester) {
env.addCustomEqualityTester(tester);
},
jsApiReporter: new jasmine.JsApiReporter({
timer: new jasmine.Timer()
})