diff --git a/powermgr/power_manager/src/main/js/default/test/power_manager_running_lock.test.js b/powermgr/power_manager/src/main/js/default/test/power_manager_running_lock.test.js index 782bf0d8c4c43bb4f22a60c97aa7d213b81baa82..34202b186f2dcb3decd70778cbc366bffa9ec32d 100644 --- a/powermgr/power_manager/src/main/js/default/test/power_manager_running_lock.test.js +++ b/powermgr/power_manager/src/main/js/default/test/power_manager_running_lock.test.js @@ -13,8 +13,7 @@ * limitations under the License. */ -import runningLock from '@ohos.runninglock'; -import '@ohos.permission.RUNNING_LOCK' +import runningLock from '@ohos.runninglock' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'