diff --git a/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeOnBodyState.js b/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeOnBodyState.js index 8bf4d029f7ac6e355fcc5b5a81f40e2b10e5ae8c..49a55e7354b65ea1a47c40416d588bb39ce386be 100644 --- a/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeOnBodyState.js +++ b/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeOnBodyState.js @@ -72,6 +72,10 @@ describe("SensorJsTest_sensor_32", function () { console.log('subscribeOnBodyState_SensorJsTest001 is completed'); } }); + setTimeout(() => { + sensor.unsubscribeOnBodyState(); + done(); + }, 1000); }) /* diff --git a/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeStepCounter.js b/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeStepCounter.js index e92edaceb59bf6cd5b002b593da8532ecc1c6aa0..665b6c6aaa67d71e82b2fd1a95572e91c00f26e9 100644 --- a/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeStepCounter.js +++ b/sensors/sensor_standard/src/main/js/test/Subscribe_subscribeStepCounter.js @@ -72,6 +72,10 @@ describe("SensorJsTest_sensor_34", function () { console.log('subscribeStepCounter_SensorJsTest001 is completed'); } }); + setTimeout(() => { + sensor.unsubscribeStepCounter(); + done(); + }, 1000); }) /*