From da0eb6bb97498f83a676e25e471db8e0ede28f00 Mon Sep 17 00:00:00 2001 From: weiyunxing Date: Mon, 25 Jul 2022 14:55:07 +0800 Subject: [PATCH] setting API mock Signed-off-by: weiyunxing --- runtime/main/extend/systemplugin/napi/ohos_settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,