未验证 提交 8e0f3075 编写于 作者: O openharmony_ci 提交者: Gitee

!7052 【distributeddatamgr】【master】SingleKvStoreKVPromiseJsTest.js 用例优化

Merge pull request !7052 from wuxiaodan/master
...@@ -773,7 +773,7 @@ describe('SingleKvStoreCallbackTest', function () { ...@@ -773,7 +773,7 @@ describe('SingleKvStoreCallbackTest', function () {
* @tc.name Test Js Api SingleKvStore.Delete() testcase 001 * @tc.name Test Js Api SingleKvStore.Delete() testcase 001
*/ */
it('SUB_DDM_DKV_SINGLEKVSTORE_DELETE_CALLBACK_2700', 0, async function (done) { it('SUB_DDM_DKV_SINGLEKVSTORE_DELETE_CALLBACK_2700', 0, async function (done) {
console.log('SingleKvStoreDeletePredicatesCallbackTest001'); console.log('SUB_DDM_DKV_SINGLEKVSTORE_DELETE_CALLBACK_2700');
try { try {
await kvStore.delete(KEY_TEST_STRING_ELEMENT, function (err,data) { await kvStore.delete(KEY_TEST_STRING_ELEMENT, function (err,data) {
console.log('SUB_DDM_DKV_SINGLEKVSTORE_DELETE_CALLBACK_2700 delete err: ' + err); console.log('SUB_DDM_DKV_SINGLEKVSTORE_DELETE_CALLBACK_2700 delete err: ' + err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册