diff --git a/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js b/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js index dced28167a081bacf6098f5ea2abb9048d8867dd..709472aac725d101b1162257d46577a1f64729d0 100644 --- a/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js +++ b/multimodalinput/input_js_standard/src/main/js/test/Pointer.test.js @@ -164,14 +164,18 @@ export default function Pointer_test() { try { var windowId = data.id; pointer.setPointerStyle(windowId, 4, (err) => { + try{ if (err) { console.info(`SetPointerStyle_002 failed_1, err=${JSON.stringify(err)}`); expect(false).assertTrue(); } else { console.info(`SetPointerStyle_002 success`); expect(true).assertTrue(); - resolve(); } + }catch(error){ + console.info(`SetPointerStyle_002 assert fail`); + } + resolve(); }); } catch (error) { console.info(`SetPointerStyle_002 error`);