diff --git a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js index 207b8ead5013ca1a7f8b7ee0dc07c584cbcb41cc..e6cc1447687fb9baef109b7ebaa4b98e8524c175 100755 --- a/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js +++ b/distributeddatamgr/appdatamgrjstest/hap/src/main/js/default/test/DataAbilityPredicatesJsunit.test.js @@ -16,7 +16,7 @@ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from ' import dataRdb from '@ohos.data.rdb'; import dataAbility from '@ohos.data.dataAbility'; -const TAG = "[RDB_JSKITS _TEST]" +const TAG = '[RDB_JSKITS _TEST]' const CREATE_TABLE_ALL_DATA_TYPE_SQL = "CREATE TABLE IF NOT EXISTS AllDataType " + "(id INTEGER PRIMARY KEY AUTOINCREMENT, " + "integerValue INTEGER , longValue INTEGER , shortValue INTEGER , booleanValue INTEGER , " diff --git a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js index 4e8e2b59807e2d21bf8adac3e221c219bab5019d..3c2a810c87aa1675933b6411d0d32fb82519e78d 100644 --- a/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js +++ b/distributeddatamgr/distributeddatamgrjstest/hap/src/main/js/default/test/DeviceKvStoreCallbackJsunit.test.js @@ -42,7 +42,7 @@ function sleep(ms) { function putBatchString(len, prefix) { let entries = []; - for (var i = 0; i < len; i++) { + for (let i = 0; i < len; i++) { var entry = { key : prefix + i, value : {