Comparing version 0.1.1 to 0.1.2
@@ -175,7 +175,9 @@ // a thing that runs tests. | ||
if (cb) { | ||
if (!isNaN(conf.timeout) && isFinite(conf.timeout)) { | ||
var timer = setTimeout(t.timeout.bind(t), conf.timeout) | ||
t.on("end", clearTimeout.bind(null, timer)) | ||
} | ||
//console.error("attaching cb to ready event") | ||
t.on("ready", function () { | ||
if (!isNaN(conf.timeout) && isFinite(conf.timeout)) { | ||
var timer = setTimeout(this.timeout.bind(this), conf.timeout) | ||
this.on("end", clearTimeout.bind(null, timer)) | ||
} | ||
}) | ||
t.on("ready", cb.bind(t, t)) | ||
@@ -182,0 +184,0 @@ // proxy the child results to this object. |
{ "name" : "tap" | ||
, "version" : "0.1.1" | ||
, "version" : "0.1.2" | ||
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)" | ||
@@ -4,0 +4,0 @@ , "description" : "A Test-Anything-Protocol library" |
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
88469
48
2501