diff --git a/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js b/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js index 5bbc14322ccec50ea2576111a22738dacab1da6e..33de10543ff1fb485e0a52d85ff128c31eb733ee 100644 --- a/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js @@ -14,7 +14,7 @@ */ import app from '@system.app' -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import brightness from '@ohos.brightness'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' diff --git a/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js b/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js index 6e3d5e828919cf31d990577fc18013c78d6841da..a792f6d4158cf8e6e483d795439da980b7712f18 100644 --- a/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import { describe, it, expect } from 'deccjsunit/index'; describe('appInfoTest_battery_4', function () { diff --git a/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js b/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js index 4a8bdcbf9e50df9f4561cc83b8f1318724889be7..6a8c24cb18dc5f53731024688937535a09d8dbbf 100644 --- a/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js @@ -14,7 +14,7 @@ */ import battery from '@system.battery'; -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import {describe, it, expect} from 'deccjsunit/index'; diff --git a/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js b/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js index 0d61e34b709a1b1d1e2664062043de1b830e25b5..fa816c4274701a693a48bf5280e76811a316aaf9 100644 --- a/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js +++ b/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import runningLock from '@ohos.runninglock' +import runningLock from '@ohos.runningLock' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' diff --git a/powermgr/power_manager/src/main/js/test/power_performance_test.js b/powermgr/power_manager/src/main/js/test/power_performance_test.js index cd854962e7c08c6c842f3bdadea686a64edf39f5..a26a5f7979409441784c9b416bd8f9adbafb9801 100644 --- a/powermgr/power_manager/src/main/js/test/power_performance_test.js +++ b/powermgr/power_manager/src/main/js/test/power_performance_test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import runningLock from '@ohos.runninglock'; +import runningLock from '@ohos.runningLock'; import power from '@ohos.power'; import brightness from '@ohos.brightness'; import { describe, it, expect } from '@ohos/hypium';