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

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