10% error for compose
This commit is contained in:
parent
298a8b328d
commit
9b31479406
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jogogo/mhysa",
|
||||
"version": "0.0.1-beta.1",
|
||||
"version": "0.0.1-beta.2",
|
||||
"description": "Streams and event emitter utils for Node.js",
|
||||
"keywords": [
|
||||
"promise",
|
||||
|
@ -211,7 +211,7 @@ test("compose() should emit drain event ~rate * highWaterMark ms for every write
|
||||
expect(composed._writableState.length).to.be.equal(0);
|
||||
expect(performance.now() - start).to.be.closeTo(
|
||||
_rate * highWaterMark,
|
||||
10,
|
||||
20,
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user