Skip to content

Commit

Permalink
test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
USAMAWIZARD committed Dec 20, 2023
1 parent 778964e commit 3689ca3
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/test/js/test/webrtc_adaptor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,17 +602,9 @@ describe("WebRTCAdaptor", function() {
});
});

var soundMeteraddModuleFailed = speakingButMuted.then(() => {
adaptor.mediaManager.mutedSoundMeter.context.audioWorklet.addModule = async () => {
return Promise.reject("error");
};
return new Promise(async function (resolve, reject) {
adaptor.enableAudioLevelWhenMuted();
resolve();
});
});

return soundMeteraddModuleFailed;

return speakingButMuted;

});

Expand Down

0 comments on commit 3689ca3

Please sign in to comment.