Skip to content

Commit

Permalink
test: fix typo in test description
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Mar 28, 2018
1 parent 85cfef6 commit 2a2e18c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/unit/audio-nodes/biquad-filter-node.js
Expand Up @@ -221,21 +221,21 @@ describe('BiquadFilterNode', () => {
expect(biquadFilterNode.channelInterpretation).to.equal(channelInterpretation);
});

it('should return an instance with the given intial value for detune', () => {
it('should return an instance with the given initial value for detune', () => {
const detune = 0.5;
const biquadFilterNode = createBiquadFilterNode(context, { detune });

expect(biquadFilterNode.detune.value).to.equal(detune);
});

it('should return an instance with the given intial value for frequency', () => {
it('should return an instance with the given initial value for frequency', () => {
const frequency = 1000;
const biquadFilterNode = createBiquadFilterNode(context, { frequency });

expect(biquadFilterNode.frequency.value).to.equal(frequency);
});

it('should return an instance with the given intial value for gain', () => {
it('should return an instance with the given initial value for gain', () => {
const gain = 0.5;
const biquadFilterNode = createBiquadFilterNode(context, { gain });

Expand All @@ -249,7 +249,7 @@ describe('BiquadFilterNode', () => {
expect(biquadFilterNode.type).to.equal(type);
});

it('should return an instance with the given intial value for Q', () => {
it('should return an instance with the given initial value for Q', () => {
const Q = 2;
const biquadFilterNode = createBiquadFilterNode(context, { Q });

Expand Down
2 changes: 1 addition & 1 deletion test/unit/audio-nodes/constant-source-node.js
Expand Up @@ -182,7 +182,7 @@ describe('ConstantSourceNode', () => {
expect(constantSourceNode.channelInterpretation).to.equal(channelInterpretation);
});

it('should return an instance with the given intial value for offset', () => {
it('should return an instance with the given initial value for offset', () => {
const offset = 0.5;
const constantSourceNode = createConstantSourceNode(context, { offset });

Expand Down
2 changes: 1 addition & 1 deletion test/unit/audio-nodes/gain-node.js
Expand Up @@ -181,7 +181,7 @@ describe('GainNode', () => {
expect(gainNode.channelInterpretation).to.equal(channelInterpretation);
});

it('should return an instance with the given intial value for gain', () => {
it('should return an instance with the given initial value for gain', () => {
const gain = 0.5;
const gainNode = createGainNode(context, { gain });

Expand Down

0 comments on commit 2a2e18c

Please sign in to comment.