Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
Sound.mockReset();
Sound.prototype.play.mockClear();
Sound.prototype.pause.mockClear();
Sound.prototype.stop.mockClear();
Sound.prototype.release.mockClear();
MusicControl.on.mockClear();
MusicControl.enableControl.mockClear();
MusicControl.enableBackgroundMode.mockClear();
MusicControl.setNowPlaying.mockClear();
MusicControl.updatePlayback.mockClear();
});