updating threshold

This commit is contained in:
Yotam Mann 2018-01-17 13:30:24 -05:00
parent 87217d1ab4
commit 82c7a109de

View file

@ -365,7 +365,7 @@ function(BasicTests, BufferSource, Offline, Buffer, Meter, Tone){
if (time > 0.02 && time < buffer.duration * 0.45){ if (time > 0.02 && time < buffer.duration * 0.45){
expect(level).to.be.gt(0); expect(level).to.be.gt(0);
} else if (time > buffer.duration * 0.5){ } else if (time > buffer.duration * 0.5){
expect(level).to.equal(0); expect(level).to.closeTo(0, 0.01);
} }
}); });
}); });