chai-datetime
Advanced tools
Comparing version 1.7.0 to 1.8.0
@@ -449,2 +449,6 @@ (function (plugin) { | ||
assert.closeToTime = function (val, exp, delta, msg) { | ||
new chai.Assertion(val, msg).to.be.closeToTime(exp, delta); | ||
}; | ||
assert.withinTime = function (val, expFrom, expTo, msg) { | ||
@@ -451,0 +455,0 @@ new chai.Assertion(val, msg).to.be.withinTime(expFrom, expTo); |
{ | ||
"name": "chai-datetime", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "chai", |
@@ -1184,2 +1184,6 @@ (function (test) { | ||
it(".closeToTime", function () { | ||
assert.closeToTime(this.subject, new Date(2013, 4, 30, 16, 6), 90); | ||
}); | ||
it(".withinTime", function () { | ||
@@ -1186,0 +1190,0 @@ assert.withinTime( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54368
1404