15bebb993Sopenharmony_ci# Copyright (C) 2024 Huawei Device Co., Ltd.
25bebb993Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
35bebb993Sopenharmony_ci# you may not use this file except in compliance with the License.
45bebb993Sopenharmony_ci# You may obtain a copy of the License at
55bebb993Sopenharmony_ci#
65bebb993Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
75bebb993Sopenharmony_ci#
85bebb993Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
95bebb993Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
105bebb993Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
115bebb993Sopenharmony_ci# See the License for the specific language governing permissions and
125bebb993Sopenharmony_ci# limitations under the License.
135bebb993Sopenharmony_ci
145bebb993Sopenharmony_ciimport("//build/test.gni")
155bebb993Sopenharmony_ci
165bebb993Sopenharmony_cimodule_output_path = "file_api/napi"
175bebb993Sopenharmony_ciohos_js_unittest("file_api_js_test") {
185bebb993Sopenharmony_ci  module_out_path = module_output_path
195bebb993Sopenharmony_ci  hap_profile = "./config.json"
205bebb993Sopenharmony_ci  certificate_profile = "./openharmony_sx.p7b"
215bebb993Sopenharmony_ci}
225bebb993Sopenharmony_ci
235bebb993Sopenharmony_cigroup("unittest") {
245bebb993Sopenharmony_ci  testonly = true
255bebb993Sopenharmony_ci  deps = [ ":file_api_js_test" ]
265bebb993Sopenharmony_ci}
27