From 5693c6d71dfbc68428b76da6f42f0d4bf90d09ca Mon Sep 17 00:00:00 2001 From: zhangxingxia Date: Mon, 24 Jan 2022 11:30:03 +0800 Subject: [PATCH] update environment mock Signed-off-by: zhangxingxia --- .../main/extend/systemplugin/napi/environment.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/runtime/main/extend/systemplugin/napi/environment.js b/runtime/main/extend/systemplugin/napi/environment.js index 8951babd..e2671a3f 100644 --- a/runtime/main/extend/systemplugin/napi/environment.js +++ b/runtime/main/extend/systemplugin/napi/environment.js @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { paramMock } from "../utils" export function mockEnvironment() {