10% error for compose

This commit is contained in:
Jerry Kurian 2019-11-01 10:10:46 -04:00
parent 298a8b328d
commit 9b31479406
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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,
);
});