diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js index 6951f49876bb9bed422a349828eacb159cee70dc..3286b5b1397b9de1f09e93c1679919659c2b129d 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncCallbackTest.test.js @@ -350,7 +350,6 @@ describe('AudioEncoderFuncCallback', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); } diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js index c7ba66cce97a02bd1cf1f5b37e0a18f18c1061a0..478f5c05b64efbf326af6886282579d9e042c18f 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderFuncPromiseTest.test.js @@ -354,7 +354,6 @@ describe('AudioEncoderFuncPromise', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); } diff --git a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js index 3a110986a0f10500865b3dce46e0b68731e78ac7..a426b5217be05a2819daf0601d36090ed500d581 100644 --- a/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js +++ b/multimedia/media/media_js_standard/audioEncoder/src/main/js/test/AudioEncoderMultiInstancesTest.test.js @@ -246,7 +246,6 @@ describe('AudioEncoderFuncPromise', function () { } } else{ - writeHead(savepath, outputobject.length); writeFile(savepath, outputobject.data, outputobject.length); console.info("write to file success"); }