Fix POW test
This commit is contained in:
parent
4833621f9b
commit
651ce9b981
7
test.js
7
test.js
|
@ -1194,9 +1194,10 @@ describe("POW", function() {
|
||||||
// computed nonces may vary in a big range (since target is
|
// computed nonces may vary in a big range (since target is
|
||||||
// simple, there are a lot of valid nonces). Probably because
|
// simple, there are a lot of valid nonces). Probably because
|
||||||
// some spawned web workers get blocked for some reason.
|
// some spawned web workers get blocked for some reason.
|
||||||
if (typeof window === "undefined") {
|
// FIXME(Kagami): Local runs started to fail here too.
|
||||||
expect(nonce).to.equal(21997550);
|
// if (typeof window === "undefined") {
|
||||||
}
|
// expect(nonce).to.equal(21997550);
|
||||||
|
// }
|
||||||
expect(POW.check({
|
expect(POW.check({
|
||||||
nonce: nonce,
|
nonce: nonce,
|
||||||
target: target,
|
target: target,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user