(files)
| 309 | } |
| 310 | |
| 311 | function 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 | |
| 323 | function runNpmScript(script) { |
| 324 | const result = spawnSync(npmCommand, ["run", script], { |
no test coverage detected