We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c6d98 commit 1012647Copy full SHA for 1012647
test/tests/p5.Gain.js
@@ -36,7 +36,7 @@ describe('p5.Gain', function () {
36
gain.connect(filter);
37
gain.connect(filter.input);
38
});
39
- it('can set the output level of gain Node', () => {
+ it('can set the output level of gain node', (done) => {
40
let osc = new p5.Oscillator('sine');
41
let mainGainNode = new p5.Gain();
42
let amplitude = new p5.Amplitude();
@@ -51,6 +51,7 @@ describe('p5.Gain', function () {
51
mainGainNode.amp(0.5);
52
setTimeout(function () {
53
expect(amplitude.getLevel()).to.be.closeTo(0.25, 0.125);
54
+ done();
55
}, 100);
56
57
it('can disconnect', function () {
0 commit comments