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