Remove unused Jasmine matchers
This commit is contained in:
@@ -4,12 +4,6 @@ beforeEach(function() {
|
|||||||
toBeA: function(type) {
|
toBeA: function(type) {
|
||||||
return this.actual instanceof type;
|
return this.actual instanceof type;
|
||||||
},
|
},
|
||||||
toBeGreaterThanOrEqualTo: function(other) {
|
|
||||||
return this.actual >= other;
|
|
||||||
},
|
|
||||||
toBeLessThanOrEqualTo: function(other) {
|
|
||||||
return this.actual <= other;
|
|
||||||
},
|
|
||||||
toRoughlyEqual: function(other, tol) {
|
toRoughlyEqual: function(other, tol) {
|
||||||
return Math.abs(this.actual - other) <= tol;
|
return Math.abs(this.actual - other) <= tol;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user