From ed01515348e5803a94fe931a01b05829127bb898 Mon Sep 17 00:00:00 2001 From: renhw Date: Mon, 9 Jan 2023 10:58:53 +0000 Subject: [PATCH] update multimedia/image/image_js_standard/src/main/js/test/image.test.js. Signed-off-by: renhw --- .../image/image_js_standard/src/main/js/test/image.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/image/image_js_standard/src/main/js/test/image.test.js b/multimedia/image/image_js_standard/src/main/js/test/image.test.js index e77e675a0..518264649 100644 --- a/multimedia/image/image_js_standard/src/main/js/test/image.test.js +++ b/multimedia/image/image_js_standard/src/main/js/test/image.test.js @@ -303,7 +303,7 @@ describe('Image', function () { bufferArr[i] = i + 1; } - let opts = { editable: true, pixelFormat: 3, size: { height: 4, width: 6 } } + let opts = { editable: true, pixelFormat: 4, size: { height: 4, width: 6 } } image.createPixelMap(color, opts) .then(pixelmap => { if (pixelmap == undefined) { @@ -361,7 +361,7 @@ describe('Image', function () { bufferArr[i] = i + 1; } - let opts = { editable: true, pixelFormat: 3, size: { height: 4, width: 6 } } + let opts = { editable: true, pixelFormat: 4, size: { height: 4, width: 6 } } image.createPixelMap(color, opts, (err, pixelmap) => { if (pixelmap == undefined) { console.info('TC_020-1 createPixelMap failed'); -- GitLab