diff --git a/distributedhardware/devicemanagerjstest/src/main/js/default/test/Device_Manager.test.js b/distributedhardware/devicemanagerjstest/src/main/js/default/test/Device_Manager.test.js index be388fe77b53a507fa963390cb2ba8cbb4693082..7ac19ea4e47e00e496970e88c19e697dc929e8cc 100644 --- a/distributedhardware/devicemanagerjstest/src/main/js/default/test/Device_Manager.test.js +++ b/distributedhardware/devicemanagerjstest/src/main/js/default/test/Device_Manager.test.js @@ -593,7 +593,9 @@ describe('deviceManagerTest', function() { expect().assertFail(); return ; } - var fa = data.on('deviceStateChange', () => {}); + var fa = data.on('deviceStateChange', (deviceStateChangeAction, deviceInfo) => { + expect(true).assertEqual(deviceStateChangeAction.ONLINE == 0); + }); expect(fa).assertUndefined(); }); console.log("----------stop running deviceManagerTest_on-deviceStateChange_0100----------");