/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v20.20.2
test/common/index.mjs
110 строк
2 KB
Daniel Bayley
src,test: further cleanup references to osx
19 авг 2024, 11:32
Не верифицирован
19 авг 2024, 11:32
2eea850
Код
Авторство
О чём код?
import { createRequire } from 'module'; const require = createRequire(import.meta.url); const common = require('./index.js'); const { allowGlobals, buildType, canCreateSymLink, checkoutEOL, childShouldThrowAndAbort, createZeroFilledFile, enoughTestMem, expectsError, expectWarning, getArrayBufferViews, getBufferSources, getCallSite, getTTYfd, hasCrypto, hasIntl, hasIPv6, hasMultiLocalhost, isAIX, isAlive, isDumbTerminal, isFreeBSD, isIBMi, isLinux, isLinuxPPCBE, isMainThread, isOpenBSD, isMacOS, isSunOS, isWindows, localIPv6Hosts, mustCall, mustCallAtLeast, mustNotCall, mustNotMutateObjectDeep, mustSucceed, nodeProcessAborted, opensslCli, parseTestFlags, PIPE, platformTimeout, printSkipMessage, runWithInvalidFD, skip, skipIf32Bits, skipIfDumbTerminal, skipIfEslintMissing, skipIfInspectorDisabled, spawnPromisified, } = common; const getPort = () => common.PORT; export { allowGlobals, buildType, canCreateSymLink, checkoutEOL, childShouldThrowAndAbort, createRequire, createZeroFilledFile, enoughTestMem, expectsError, expectWarning, getArrayBufferViews, getBufferSources, getCallSite, getPort, getTTYfd, hasCrypto, hasIntl, hasIPv6, hasMultiLocalhost, isAIX, isAlive, isDumbTerminal, isFreeBSD, isIBMi, isLinux, isLinuxPPCBE, isMainThread, isOpenBSD, isMacOS, isSunOS, isWindows, localIPv6Hosts, mustCall, mustCallAtLeast, mustNotCall, mustNotMutateObjectDeep, mustSucceed, nodeProcessAborted, opensslCli, parseTestFlags, PIPE, platformTimeout, printSkipMessage, runWithInvalidFD, skip, skipIf32Bits, skipIfDumbTerminal, skipIfEslintMissing, skipIfInspectorDisabled, spawnPromisified, };