(slice)
| 332 | } |
| 333 | |
| 334 | function runSlice(slice) { |
| 335 | for (const suiteId of suiteIdsForSlice(slice)) { |
| 336 | const suite = releaseCriticalSuites.find((candidate) => candidate.id === suiteId); |
| 337 | if (!suite) { |
| 338 | throw new Error(`testing-slices: unknown suite id ${suiteId}`); |
| 339 | } |
| 340 | |
| 341 | beginGroup(suite.title); |
| 342 | for (const command of suite.commands) { |
| 343 | if (command.kind === "node-test") { |
| 344 | process.stdout.write(`node --test ${command.files.join(" ")}\n`); |
| 345 | runNodeTests([...command.files]); |
| 346 | continue; |
| 347 | } |
| 348 | |
| 349 | process.stdout.write(`npm run ${command.script}\n`); |
| 350 | runNpmScript(command.script); |
| 351 | } |
| 352 | endGroup(); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | const args = parseArgs(process.argv.slice(2)); |
| 357 |
no test coverage detected