/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v22.22.2
test/common/index.mjs
102 строки
2 KB
Antoine du Hamel
test: fix status when compiled without inspector
24 фев 2026, 02:36
Не верифицирован
24 фев 2026, 02:36
4c03a7f
Код
Авторство
О чём код?
import { createRequire } from 'module'; const require = createRequire(import.meta.url); const common = require('./index.js'); const { allowGlobals, buildType, canCreateSymLink, childShouldThrowAndAbort, enoughTestMem, escapePOSIXShell, expectsError, expectWarning, getArrayBufferViews, getBufferSources, getTTYfd, hasCrypto, hasInspector, hasSQLite, hasIntl, hasIPv6, isAIX, isAlive, isFreeBSD, isIBMi, isInsideDirWithUnusualChars, isLinux, isOpenBSD, isMacOS, isSunOS, isWindows, localIPv6Hosts, mustCall, mustCallAtLeast, mustNotCall, mustNotMutateObjectDeep, mustSucceed, nodeProcessAborted, parseTestFlags, PIPE, platformTimeout, printSkipMessage, runWithInvalidFD, skip, skipIf32Bits, skipIfEslintMissing, skipIfInspectorDisabled, skipIfSQLiteMissing, spawnPromisified, } = common; const getPort = () => common.PORT; export { allowGlobals, buildType, canCreateSymLink, childShouldThrowAndAbort, createRequire, enoughTestMem, escapePOSIXShell, expectsError, expectWarning, getArrayBufferViews, getBufferSources, getPort, getTTYfd, hasCrypto, hasInspector, hasSQLite, hasIntl, hasIPv6, isAIX, isAlive, isFreeBSD, isIBMi, isInsideDirWithUnusualChars, isLinux, isOpenBSD, isMacOS, isSunOS, isWindows, localIPv6Hosts, mustCall, mustCallAtLeast, mustNotCall, mustNotMutateObjectDeep, mustSucceed, nodeProcessAborted, parseTestFlags, PIPE, platformTimeout, printSkipMessage, runWithInvalidFD, skip, skipIf32Bits, skipIfEslintMissing, skipIfInspectorDisabled, skipIfSQLiteMissing, spawnPromisified, };