test: Moved intersectsWith() testing function into test-extensions.js
This commit is contained in:
@@ -24,6 +24,10 @@ expect.Assertion.prototype.roughlyEqual = function(other, tol) {
|
||||
};
|
||||
|
||||
|
||||
expect.Assertion.prototype.intersectWith = function(other) {
|
||||
return this.obj.intersects(other);
|
||||
};
|
||||
|
||||
|
||||
// helper functions for async testing
|
||||
(function(global) {
|
||||
|
||||
Reference in New Issue
Block a user