Skip to content

Commit

Permalink
test: update expectation tests for Opera v52
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Mar 28, 2018
1 parent fc569e7 commit 496bca6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
2 changes: 1 addition & 1 deletion src/helpers/create-native-channel-splitter-node.ts
Expand Up @@ -22,7 +22,7 @@ export const createNativeChannelSplitterNode = (

assignNativeAudioNodeOptions(nativeNode, options);

// Bug #29 - #32: Only Chrome partially supports the spec yet.
// Bug #29 - #32: Only Chrome & Opera partially support the spec yet.
channelSplitterNodeWrapper.wrap(nativeNode);

return nativeNode;
Expand Down
16 changes: 0 additions & 16 deletions test/expectation/opera/audio-context-constructor.js
Expand Up @@ -109,22 +109,6 @@ describe('audioContextConstructor', () => {
channelSplitterNode.channelCountMode = 'explicit';
});

// bug #31

it('should have a channelInterpretation of speakers', () => {
const channelSplitterNode = audioContext.createChannelSplitter();

expect(channelSplitterNode.channelInterpretation).to.equal('speakers');
});

// bug #32

it('should allow to set the channelInterpretation', () => {
const channelSplitterNode = audioContext.createChannelSplitter();

channelSplitterNode.channelInterpretation = 'discrete';
});

});

describe('createGain()', () => {
Expand Down
16 changes: 0 additions & 16 deletions test/expectation/opera/offline-audio-context-constructor.js
Expand Up @@ -105,22 +105,6 @@ describe('offlineAudioContextConstructor', () => {
channelSplitterNode.channelCountMode = 'explicit';
});

// bug #31

it('should have a channelInterpretation of speakers', () => {
const channelSplitterNode = offlineAudioContext.createChannelSplitter();

expect(channelSplitterNode.channelInterpretation).to.equal('speakers');
});

// bug #32

it('should allow to set the channelInterpretation', () => {
const channelSplitterNode = offlineAudioContext.createChannelSplitter();

channelSplitterNode.channelInterpretation = 'discrete';
});

});

describe('createGain()', () => {
Expand Down

0 comments on commit 496bca6

Please sign in to comment.