diff --git a/communication/bluetooth_ble/src/main/js/default/test/BluetoothBle.test.js b/communication/bluetooth_ble/src/main/js/default/test/BluetoothBle.test.js index 20b63a4dd8d710b128942883904cef7783d43d07..39332be4c0dc337af3a0149fef888c4fa6c74a2e 100644 --- a/communication/bluetooth_ble/src/main/js/default/test/BluetoothBle.test.js +++ b/communication/bluetooth_ble/src/main/js/default/test/BluetoothBle.test.js @@ -708,23 +708,7 @@ describe('bluetoothhostTest', function() { done(); }) - /** - * @tc.number SUB_COMMUNACATION_bluetooth_GATT_REMOVE_SERVICE_0001 - * @tc.name testRemoveService - * @tc.desc Test RemoveService api. - * @tc.size MEDIUM - * @tc.type Function - * @tc.level Level 2 - */ - it('SUB_COMMUNACATION_bluetooth_GATT_REMOVE_SERVICE_0001', 0, async function (done) { - console.info('[bluetooth_js] removeService start'); - await tryToEnableBt(); - let gattServer = bluetooth.BLE.createGattServer(); - let ret = gattServer.removeService('00001810-0000-1000-8000-008000000000'); - console.info('[bluetooth_js] removeService ret : ' + ret); - expect(ret).assertEqual(false); - done(); - }) + /** * @tc.number SUB_COMMUNACATION_bluetooth_GATT_NOTIFY_CHARA_CHANGED_0001 diff --git a/communication/bluetooth_on/src/main/js/default/test/BluetoothOn.test.js b/communication/bluetooth_on/src/main/js/default/test/BluetoothOn.test.js index 567626f39b6091965df699c5aee63c5325d5ac96..7a55d2276dd2bab438fe6017c1292cd30ab0df6d 100644 --- a/communication/bluetooth_on/src/main/js/default/test/BluetoothOn.test.js +++ b/communication/bluetooth_on/src/main/js/default/test/BluetoothOn.test.js @@ -263,6 +263,7 @@ describe('bluetoothhostTest', function() { }); } bluetooth.BLE.startBLEScan([{deviceId:"00:00:00:00:00:00"}]); + done(); }) @@ -291,6 +292,7 @@ describe('bluetoothhostTest', function() { }); } bluetooth.BLE.startBLEScan([{name:"bluetooth_test"}]); + done(); }) @@ -319,6 +321,7 @@ describe('bluetoothhostTest', function() { }); } bluetooth.BLE.startBLEScan([{serviceUuid:"00001888-0000-1000-8000-00805f9b34fb"}]); + done(); })