11cb0ef41Sopenharmony_ciimport { createRequire } from 'module'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst require = createRequire(import.meta.url); 41cb0ef41Sopenharmony_ciconst common = require('./index.js'); 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_ciconst { 71cb0ef41Sopenharmony_ci allowGlobals, 81cb0ef41Sopenharmony_ci buildType, 91cb0ef41Sopenharmony_ci canCreateSymLink, 101cb0ef41Sopenharmony_ci checkoutEOL, 111cb0ef41Sopenharmony_ci childShouldThrowAndAbort, 121cb0ef41Sopenharmony_ci createZeroFilledFile, 131cb0ef41Sopenharmony_ci enoughTestMem, 141cb0ef41Sopenharmony_ci expectsError, 151cb0ef41Sopenharmony_ci expectWarning, 161cb0ef41Sopenharmony_ci getArrayBufferViews, 171cb0ef41Sopenharmony_ci getBufferSources, 181cb0ef41Sopenharmony_ci getCallSite, 191cb0ef41Sopenharmony_ci getTTYfd, 201cb0ef41Sopenharmony_ci hasCrypto, 211cb0ef41Sopenharmony_ci hasIPv6, 221cb0ef41Sopenharmony_ci hasMultiLocalhost, 231cb0ef41Sopenharmony_ci isAIX, 241cb0ef41Sopenharmony_ci isAlive, 251cb0ef41Sopenharmony_ci isDumbTerminal, 261cb0ef41Sopenharmony_ci isFreeBSD, 271cb0ef41Sopenharmony_ci isIBMi, 281cb0ef41Sopenharmony_ci isLinux, 291cb0ef41Sopenharmony_ci isLinuxPPCBE, 301cb0ef41Sopenharmony_ci isMainThread, 311cb0ef41Sopenharmony_ci isOpenBSD, 321cb0ef41Sopenharmony_ci isOSX, 331cb0ef41Sopenharmony_ci isSunOS, 341cb0ef41Sopenharmony_ci isWindows, 351cb0ef41Sopenharmony_ci localIPv6Hosts, 361cb0ef41Sopenharmony_ci mustCall, 371cb0ef41Sopenharmony_ci mustCallAtLeast, 381cb0ef41Sopenharmony_ci mustNotCall, 391cb0ef41Sopenharmony_ci mustNotMutateObjectDeep, 401cb0ef41Sopenharmony_ci mustSucceed, 411cb0ef41Sopenharmony_ci nodeProcessAborted, 421cb0ef41Sopenharmony_ci opensslCli, 431cb0ef41Sopenharmony_ci parseTestFlags, 441cb0ef41Sopenharmony_ci PIPE, 451cb0ef41Sopenharmony_ci platformTimeout, 461cb0ef41Sopenharmony_ci printSkipMessage, 471cb0ef41Sopenharmony_ci runWithInvalidFD, 481cb0ef41Sopenharmony_ci skip, 491cb0ef41Sopenharmony_ci skipIf32Bits, 501cb0ef41Sopenharmony_ci skipIfDumbTerminal, 511cb0ef41Sopenharmony_ci skipIfEslintMissing, 521cb0ef41Sopenharmony_ci skipIfInspectorDisabled, 531cb0ef41Sopenharmony_ci spawnPromisified, 541cb0ef41Sopenharmony_ci} = common; 551cb0ef41Sopenharmony_ci 561cb0ef41Sopenharmony_ciconst getPort = () => common.PORT; 571cb0ef41Sopenharmony_ci 581cb0ef41Sopenharmony_ciexport { 591cb0ef41Sopenharmony_ci allowGlobals, 601cb0ef41Sopenharmony_ci buildType, 611cb0ef41Sopenharmony_ci canCreateSymLink, 621cb0ef41Sopenharmony_ci checkoutEOL, 631cb0ef41Sopenharmony_ci childShouldThrowAndAbort, 641cb0ef41Sopenharmony_ci createRequire, 651cb0ef41Sopenharmony_ci createZeroFilledFile, 661cb0ef41Sopenharmony_ci enoughTestMem, 671cb0ef41Sopenharmony_ci expectsError, 681cb0ef41Sopenharmony_ci expectWarning, 691cb0ef41Sopenharmony_ci getArrayBufferViews, 701cb0ef41Sopenharmony_ci getBufferSources, 711cb0ef41Sopenharmony_ci getCallSite, 721cb0ef41Sopenharmony_ci getPort, 731cb0ef41Sopenharmony_ci getTTYfd, 741cb0ef41Sopenharmony_ci hasCrypto, 751cb0ef41Sopenharmony_ci hasIPv6, 761cb0ef41Sopenharmony_ci hasMultiLocalhost, 771cb0ef41Sopenharmony_ci isAIX, 781cb0ef41Sopenharmony_ci isAlive, 791cb0ef41Sopenharmony_ci isDumbTerminal, 801cb0ef41Sopenharmony_ci isFreeBSD, 811cb0ef41Sopenharmony_ci isIBMi, 821cb0ef41Sopenharmony_ci isLinux, 831cb0ef41Sopenharmony_ci isLinuxPPCBE, 841cb0ef41Sopenharmony_ci isMainThread, 851cb0ef41Sopenharmony_ci isOpenBSD, 861cb0ef41Sopenharmony_ci isOSX, 871cb0ef41Sopenharmony_ci isSunOS, 881cb0ef41Sopenharmony_ci isWindows, 891cb0ef41Sopenharmony_ci localIPv6Hosts, 901cb0ef41Sopenharmony_ci mustCall, 911cb0ef41Sopenharmony_ci mustCallAtLeast, 921cb0ef41Sopenharmony_ci mustNotCall, 931cb0ef41Sopenharmony_ci mustNotMutateObjectDeep, 941cb0ef41Sopenharmony_ci mustSucceed, 951cb0ef41Sopenharmony_ci nodeProcessAborted, 961cb0ef41Sopenharmony_ci opensslCli, 971cb0ef41Sopenharmony_ci parseTestFlags, 981cb0ef41Sopenharmony_ci PIPE, 991cb0ef41Sopenharmony_ci platformTimeout, 1001cb0ef41Sopenharmony_ci printSkipMessage, 1011cb0ef41Sopenharmony_ci runWithInvalidFD, 1021cb0ef41Sopenharmony_ci skip, 1031cb0ef41Sopenharmony_ci skipIf32Bits, 1041cb0ef41Sopenharmony_ci skipIfDumbTerminal, 1051cb0ef41Sopenharmony_ci skipIfEslintMissing, 1061cb0ef41Sopenharmony_ci skipIfInspectorDisabled, 1071cb0ef41Sopenharmony_ci spawnPromisified, 1081cb0ef41Sopenharmony_ci}; 109