rename compiled js files

Signed-off-by: s00912778 <shijiakai2@huawei.com>
Change-Id: If8bd1bf3b006bf7d0ad82f592c48f0b5f9a3fcf3
This commit is contained in:
s00912778 2024-10-26 10:12:36 +08:00
parent cd7dda60a0
commit bdfdb535f8
47 changed files with 1 additions and 43 deletions

View File

@ -1,14 +0,0 @@
/*
* 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
*
* 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.
*/

View File

@ -1,14 +0,0 @@
/*
* 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
*
* 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.
*/

View File

@ -1,14 +0,0 @@
/*
* 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
*
* 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.
*/

View File

@ -144,7 +144,7 @@ mocha.describe('test UT testcases [non-preview mode]', function () {
const sourceFilePath: string = path.resolve(TEST_CASES_PATH, `ut/${utPage}.ets`);
const sourceCode: string = fs.readFileSync(sourceFilePath, 'utf-8');
const targetFilePath: string = path.resolve(OUTPUTS_PATH, `ut/${utPage}.js`);
const targetFilePath: string = path.resolve(OUTPUTS_PATH, `ut/${utPage}.js.sample`);
const targetCode: string = fs.readFileSync(targetFilePath, 'utf-8');
storedFileInfo.addFileCacheInfo(sourceFilePath);