diff --git a/runtime/main/extend/systemplugin/napi/ohos_settings.js b/runtime/main/extend/systemplugin/napi/ohos_settings.js index a20bf447..f03e6ecf 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_settings.js +++ b/runtime/main/extend/systemplugin/napi/ohos_settings.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Huawei Device Co., Ltd. + * Copyright (c) 2022 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -107,7 +107,7 @@ export function mockSettings() { WIFI_STATUS: "[PC Preview] unknow WIFI_STATUS", WIFI_WATCHDOG_STATUS: "[PC Preview] unknow WIFI_WATCHDOG_STATUS", }; - const settingsMock = { + const settings = { date, display, general,