/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v26.5.1
test/embedding/test-embedding-exit-code.js
14 строк
323 B
Joyee Cheung
test: split test-embedding.js and run tests in parallel
08 фев 2026, 16:18
Не верифицирован
08 фев 2026, 16:18
a879b39
Код
Авторство
О чём код?
'use strict'; // Tests that process.exitCode works correctly in embedded environments. const common = require('../common'); const { spawnSyncAndExit } = require('../common/child_process'); spawnSyncAndExit( common.resolveBuiltBinary('embedtest'), ['process.exitCode = 8'], { status: 8, signal: null, });