mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 22:12:48 -05:00
13 lines
285 B
JavaScript
13 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;
|