Make addCustomEqualityTester available on jasmine global
- User shouldn't have to `jasmine.getEnv()` to add one
This commit is contained in:
@@ -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()
|
||||
})
|
||||
|
||||
@@ -48,6 +48,11 @@
|
||||
},
|
||||
|
||||
clock: env.clock,
|
||||
|
||||
addCustomEqualityTester: function(tester) {
|
||||
env.addCustomEqualityTester(tester);
|
||||
},
|
||||
|
||||
jsApiReporter: new jasmine.JsApiReporter({
|
||||
timer: new jasmine.Timer()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user