/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v25.8.2
test/embedding/test-embedding-create-require-internal.js
15 строк
402 B
Joyee Cheung
test: split test-embedding.js and run tests in parallel
19 фев 2026, 13:13
Не верифицирован
19 фев 2026, 13:13
b6ae1fc
Код
Авторство
О чём код?
'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, });