scratch-audio/test/__mocks__/AudioEngine.js
2018-06-08 12:39:29 -04:00

12 lines
285 B
JavaScript

const AudioContextMock = require('./AudioContext');
const AudioTargetMock = require('./AudioTarget');
class AudioEngineMock extends AudioTargetMock {
constructor () {
super();
this.audioContext = new AudioContextMock();
}
}
module.exports = AudioEngineMock;