Skip to content

Commit 4e321a3

Browse files
committed
minor update in tests/p5.SoundRecorder.js
Signed-off-by: Abhijay Jain <[email protected]>
1 parent dd55bc1 commit 4e321a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/tests/p5.SoundRecorder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe('p5.SoundRecorder', function () {
146146
expect(outputSoundFile.duration()).to.eq(recordingDuration);
147147

148148
const outputChannel = outputSoundFile.buffer.getChannelData(0);
149-
let isAllZero = true;
149+
expect(outputChannel[0]).to.not.eq(0);
150150

151151
outputSoundFile.dispose();
152152
p5.prototype.outputVolume(0);

0 commit comments

Comments
 (0)