/*
 * Copyright (c) 2024 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 assert from 'assert';
require('./commonjs_export_01');
var module1 = require('./commonjs_export_01');
assert(module1.g === 'commonjs');
assert(module1.h(2) === 3);
assert(module1.i() === 'api');
assert(module1.j === 2);
const { l: classExport3Alias, m: exportObj3 } = require('./commonjs_export_01');
assert(exportObj3.o === 3);
let ins3 = new classExport3Alias();
assert(ins3.k === 3);
const default_class = require('./commonjs_export_02');
let ins2 = new default_class();
assert(ins2.p === 2);
const default_obj = require('./commonjs_export_03');
assert(default_obj.q === 1);
assert(default_obj.t.u === 2);
const { b1: classExport1, c1: arrowFunc } = require('./commonjs_export_04');
let ins4 = new classExport1();
assert(ins4.a1 === 1);
assert(arrowFunc(2) === 12);
