Skip to content

Commit 08b6e31

Browse files
(Gsoc'21)🔨 corrected some spelling mistakes
1 parent fd60ed9 commit 08b6e31

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

test/tests/p5.Listener3d.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ describe('p5.Listener3D', function () {
44
let listener3d;
55
it('can be created', function () {
66
listener3d = new p5.Listener3D();
7-
console.log(listener3d);
87
expect(listener3d).to.have.property('ac');
98
expect(listener3d.listener).to.have.property('forwardX');
109
expect(listener3d.listener).to.have.property('positionY');

test/tests/p5.Metro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('p5.Metro', function () {
3636
}, 1000);
3737
});
3838

39-
it('can be started and stopped with dealy', function (done) {
39+
it('can be started and stopped with delay', function (done) {
4040
let ticks;
4141
metro.setBPM(600);
4242
metro.start(0.1);

test/tests/p5.PeakDetect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
const expect = chai.expect;
22

33
describe('p5.PeakDetect', function () {
4-
it('can be initalized without any arguemts', function () {
4+
it('can be initialized without any arguments', function () {
55
const peakDetect = new p5.PeakDetect();
66
expect(peakDetect.cutoff).to.equal(0);
77
expect(peakDetect.framesSinceLastPeak).to.equal(0);
88
expect(peakDetect.energy).to.equal(0);
99
expect(peakDetect.isDetected).to.equal(false);
1010
});
11-
it('can be initalized with arguemts', function () {
11+
it('can be initialized with arguemts', function () {
1212
const peakDetect = new p5.PeakDetect(40, 120, 0.8, 20);
1313
expect(peakDetect.f1).to.equal(40);
1414
expect(peakDetect.f2).to.equal(120);

test/tests/p5.Pulse.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ describe('p5.Pulse', function () {
1818
let pulse = new p5.Pulse(220, 0.4);
1919
expect(pulse.w).to.equal(0.4);
2020
expect(pulse.f).to.equal(220);
21-
console.log(pulse);
2221
expect(pulse.dNode.delayTime.value).to.be.approximately(0.0009, 0.00001);
2322
expect(pulse.dcGain.gain.value).to.be.approximately(0.17, 0.001);
2423
});

test/tests/p5.SoundLoop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe('p5.SoundLoop', function () {
4848
done();
4949
}, 1000);
5050
});
51-
it('can be started and stopped with dealy', function (done) {
51+
it('can be started and stopped with delay', function (done) {
5252
let count = 0;
5353
let ticks;
5454
let sloop = new p5.SoundLoop(() => count++, '6n');

0 commit comments

Comments
 (0)