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 753f7eef4bcd51f37115f29093d722146c35d901..ca20c2d5849eea0256e38992d0dc7bc5b5fe27ab 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 @@ -313,7 +313,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----------");