From f4175da9da172c8c1276c861dd0231eb56470d16 Mon Sep 17 00:00:00 2001 From: renhongwei Date: Thu, 23 Mar 2023 15:17:59 +0800 Subject: [PATCH] add device doce Signed-off-by: renhongwei --- .../imageReceiver/src/main/js/test/receiver.test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/multimedia/image/image_js_standard/imageReceiver/src/main/js/test/receiver.test.js b/multimedia/image/image_js_standard/imageReceiver/src/main/js/test/receiver.test.js index ec8b2c51f..e49386f47 100644 --- a/multimedia/image/image_js_standard/imageReceiver/src/main/js/test/receiver.test.js +++ b/multimedia/image/image_js_standard/imageReceiver/src/main/js/test/receiver.test.js @@ -265,6 +265,11 @@ export default function ImageReceiver() { done(); } else { try { + var error = receiver.checkDeviceTest; + if (DEVICE_CODE == error) { + expect(error == DEVICE_CODE).assertTrue(); + done(); + } receiver.on(param, () => { expect(false).assertTrue(); }); -- GitLab