MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / runNodeTests

Function runNodeTests

scripts/testing-slices.mjs:311–321  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

309}
310
311function runNodeTests(files) {
312 ensureFilesExist(files);
313 const result = spawnSync(process.execPath, [...nodeTestArgs, ...files], {
314 cwd: root,
315 stdio: "inherit",
316 env: { ...process.env },
317 });
318 if ((result.status ?? 1) !== 0) {
319 process.exit(result.status ?? 1);
320 }
321}
322
323function runNpmScript(script) {
324 const result = spawnSync(npmCommand, ["run", script], {

Callers 1

runSliceFunction · 0.85

Calls 1

ensureFilesExistFunction · 0.85

Tested by

no test coverage detected