From 651ce9b981b2bca493ad0f3b315d3a37e2a51663 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Mon, 13 Jul 2015 22:11:18 +0300 Subject: [PATCH] Fix POW test --- test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test.js b/test.js index db70d1d..959056f 100644 --- a/test.js +++ b/test.js @@ -1194,9 +1194,10 @@ describe("POW", function() { // computed nonces may vary in a big range (since target is // simple, there are a lot of valid nonces). Probably because // some spawned web workers get blocked for some reason. - if (typeof window === "undefined") { - expect(nonce).to.equal(21997550); - } + // FIXME(Kagami): Local runs started to fail here too. + // if (typeof window === "undefined") { + // expect(nonce).to.equal(21997550); + // } expect(POW.check({ nonce: nonce, target: target,