/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v26.7.0
test/embedding/test-embedding-create-require-internal.js
15 строк
402 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 createRequire() from embedded environments still cannot access internals. // The createRequire() call is in embedtest.cc. const common = require('../common'); const { spawnSyncAndExit } = require('../common/child_process'); spawnSyncAndExit( common.resolveBuiltBinary('embedtest'), ['require("lib/internal/test/binding")'], { status: 1, signal: null, });