• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16import validator from 'validator';
17import validator2 from 'validator/validator';
18
19export let npmRes: boolean = validator.isEmail('foo@bar.com');
20
21export let npmRes2: boolean = validator2.isEmail('foo@bar.com');
22
23export { MainPage } from './src/main/ets/components/MainPage'
24
25export { add } from 'ets/testAdd';
26
27export { add as add1 } from './testAdd';
28
29export { subtract } from './src/main/ets/test';
30
31export { multiply } from './src/main/ets/test';
32
33export { getInfo as testGetCNInfo } from './src/main/ets/test/中文';
34
35export { addTest } from 'loadHar';
36
37export { getHarName } from 'loadHar/src/main/ets/getHarNameTest';
38
39export { addTest as addTest2 } from '@test/library';
40
41export { getHarName as getHarName2 } from '@test/library/src/main/ets/getHarNameTest';
42
43export { expect as expect2 } from '@ohos/hypium';
44
45export { TAG as ConstantTAG } from '@ohos/hypium/src/main/Constant';
46
47export { add as hspAdd } from 'loadHsp';
48
49export { add as hspAdd2 } from '@test/library1';
50
51export { subtract as hspSubtract } from 'loadHsp/src/test/testSubtract';
52
53export { subtract as hspSubtract2 } from '@test/library1/src/test/testSubtract';