From 82c7a109de923ff87a4029461dfaa590b8b0debe Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Wed, 17 Jan 2018 13:30:24 -0500 Subject: [PATCH] updating threshold --- test/source/BufferSource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/source/BufferSource.js b/test/source/BufferSource.js index 0f51340b..6d889b3f 100644 --- a/test/source/BufferSource.js +++ b/test/source/BufferSource.js @@ -365,7 +365,7 @@ function(BasicTests, BufferSource, Offline, Buffer, Meter, Tone){ if (time > 0.02 && time < buffer.duration * 0.45){ expect(level).to.be.gt(0); } else if (time > buffer.duration * 0.5){ - expect(level).to.equal(0); + expect(level).to.closeTo(0, 0.01); } }); });