scratch-audio/test/__mocks__/AudioEngine.js

13 lines
285 B
JavaScript
Raw Normal View History

2018-06-07 22:17:05 -04:00
const AudioContextMock = require('./AudioContext');
const AudioTargetMock = require('./AudioTarget');
class AudioEngineMock extends AudioTargetMock {
constructor () {
super();
this.audioContext = new AudioContextMock();
}
}
module.exports = AudioEngineMock;