[Pkg-javascript-commits] [node-sha.js] 112/237: work around tape/ff

Bastien Roucariès rouca at moszumanska.debian.org
Fri May 5 09:03:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-sha.js.

commit b95d57c596a455b3a7b9ad8de95e4374a7d84cf8
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Thu Jan 30 00:54:20 2014 +0700

    work around tape/ff
---
 test/vectors.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/test/vectors.js b/test/vectors.js
index 6fbd428..6feee20 100644
--- a/test/vectors.js
+++ b/test/vectors.js
@@ -20,7 +20,10 @@ function makeTest(alg, i, verbose) {
     }
     var buf = new Buffer(v.input, 'base64')
     t.equal(createHash(alg).update(buf).digest('hex'), v[alg])
-    t.end()
+    setTimeout(function () {
+      //avoid "too much recursion" errors in tape in firefox
+      t.end()
+    })
   })
   
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-sha.js.git



More information about the Pkg-javascript-commits mailing list