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 ec8b2c51f4f1924b0f77535a20aec047ba16b950..e49386f47315d9d7e019c3c631a8a66524a0b606 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(); });