diff --git a/test/unit/audio-nodes/biquad-filter-node.js b/test/unit/audio-nodes/biquad-filter-node.js index a843d5881..a21f9f511 100644 --- a/test/unit/audio-nodes/biquad-filter-node.js +++ b/test/unit/audio-nodes/biquad-filter-node.js @@ -22,8 +22,7 @@ describe('BiquadFilterNode', () => { return new BiquadFilterNode(context, options); } - ], - [ + ], [ 'constructor with MinimalAudioContext', () => new MinimalAudioContext(), (context, options = null) => { @@ -33,8 +32,7 @@ describe('BiquadFilterNode', () => { return new BiquadFilterNode(context, options); } - ], - [ + ], [ 'constructor with OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -44,8 +42,7 @@ describe('BiquadFilterNode', () => { return new BiquadFilterNode(context, options); } - ], - [ + ], [ 'constructor with MinimalOfflineAudioContext', () => new MinimalOfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -55,8 +52,7 @@ describe('BiquadFilterNode', () => { return new BiquadFilterNode(context, options); } - ], - [ + ], [ 'factory function of AudioContext', () => new AudioContext(), (context, options = null) => { @@ -96,8 +92,7 @@ describe('BiquadFilterNode', () => { return biquadFilterNode; } - ], - [ + ], [ 'factory function of OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { diff --git a/test/unit/audio-nodes/constant-source-node.js b/test/unit/audio-nodes/constant-source-node.js index 754db3025..2edb2ca57 100644 --- a/test/unit/audio-nodes/constant-source-node.js +++ b/test/unit/audio-nodes/constant-source-node.js @@ -22,8 +22,7 @@ describe('ConstantSourceNode', () => { return new ConstantSourceNode(context, options); } - ], - [ + ], [ 'constructor with MinimalAudioContext', () => new MinimalAudioContext(), (context, options = null) => { @@ -33,8 +32,7 @@ describe('ConstantSourceNode', () => { return new ConstantSourceNode(context, options); } - ], - [ + ], [ 'constructor with OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -44,8 +42,7 @@ describe('ConstantSourceNode', () => { return new ConstantSourceNode(context, options); } - ], - [ + ], [ 'constructor with MinimalOfflineAudioContext', () => new MinimalOfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -55,8 +52,7 @@ describe('ConstantSourceNode', () => { return new ConstantSourceNode(context, options); } - ], - [ + ], [ 'factory function of AudioContext', () => new AudioContext(), (context, options = null) => { @@ -80,8 +76,7 @@ describe('ConstantSourceNode', () => { return constantSourceNode; } - ], - [ + ], [ 'factory function of OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { diff --git a/test/unit/audio-nodes/gain-node.js b/test/unit/audio-nodes/gain-node.js index 580659b27..74adde4d6 100644 --- a/test/unit/audio-nodes/gain-node.js +++ b/test/unit/audio-nodes/gain-node.js @@ -21,8 +21,7 @@ describe('GainNode', () => { return new GainNode(context, options); } - ], - [ + ], [ 'constructor with MinimalAudioContext', () => new MinimalAudioContext(), (context, options = null) => { @@ -32,8 +31,7 @@ describe('GainNode', () => { return new GainNode(context, options); } - ], - [ + ], [ 'constructor with OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -43,8 +41,7 @@ describe('GainNode', () => { return new GainNode(context, options); } - ], - [ + ], [ 'constructor with MinimalOfflineAudioContext', () => new MinimalOfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { @@ -54,8 +51,7 @@ describe('GainNode', () => { return new GainNode(context, options); } - ], - [ + ], [ 'factory function of AudioContext', () => new AudioContext(), (context, options = null) => { @@ -79,8 +75,7 @@ describe('GainNode', () => { return gainNode; } - ], - [ + ], [ 'factory function of OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options = null) => { diff --git a/test/unit/audio-nodes/iir-filter-node.js b/test/unit/audio-nodes/iir-filter-node.js index e40d83ac6..3985fc6c1 100644 --- a/test/unit/audio-nodes/iir-filter-node.js +++ b/test/unit/audio-nodes/iir-filter-node.js @@ -16,23 +16,19 @@ describe('IIRFilterNode', () => { 'constructor with AudioContext', () => new AudioContext(), (context, options) => new IIRFilterNode(context, options) - ], - [ + ], [ 'constructor with MinimalAudioContext', () => new MinimalAudioContext(), (context, options) => new IIRFilterNode(context, options) - ], - [ + ], [ 'constructor with OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options) => new IIRFilterNode(context, options) - ], - [ + ], [ 'constructor with MinimalOfflineAudioContext', () => new MinimalOfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options) => new IIRFilterNode(context, options) - ], - [ + ], [ 'factory function of AudioContext', () => new AudioContext(), (context, options) => { @@ -52,8 +48,7 @@ describe('IIRFilterNode', () => { return iIRFilterNode; } - ], - [ + ], [ 'factory function of OfflineAudioContext', () => new OfflineAudioContext({ length: 5, sampleRate: 44100 }), (context, options) => {