From 1aee68c5e6abe54ec133e071a37aa7c5596d6077 Mon Sep 17 00:00:00 2001 From: lixinyi1094590959 Date: Sat, 26 Aug 2023 14:24:11 +0000 Subject: [PATCH] update /KvStoreBackupPromiseJsTest.js. Signed-off-by: lixinyi1094590959 --- .../hap/src/main/js/test/KvStoreBackupPromiseJsTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvStoreBackupPromiseJsTest.js b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvStoreBackupPromiseJsTest.js index 513f2e4f9..470e3ec83 100644 --- a/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvStoreBackupPromiseJsTest.js +++ b/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/src/main/js/test/KvStoreBackupPromiseJsTest.js @@ -131,6 +131,7 @@ function publicDeleteBackup(kvStore,files){ }) } catch (e) { console.log("111Test deleteBackup err information: " + e ); + reject(e); } }) } @@ -173,7 +174,6 @@ const optionLock = { securityLevel: distributedData.SecurityLevel.S1, } -var file = ''; var files =new Array(); export default function kvStoreBackupPromiseJsunittest(){ -- GitLab