We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9262f1f commit 0b56e17Copy full SHA for 0b56e17
packages/playground/cli/src/run-cli.ts
@@ -336,6 +336,8 @@ export interface RunCLIServer extends AsyncDisposable {
336
playground: RemoteAPI<PlaygroundCliWorker>;
337
server: Server;
338
[Symbol.asyncDispose](): Promise<void>;
339
+ // Expose the number of worker threads to the test runner.
340
+ workerThreadCount: number;
341
}
342
343
export async function runCLI(args: RunCLIArgs): Promise<RunCLIServer> {
@@ -565,6 +567,7 @@ export async function runCLI(args: RunCLIArgs): Promise<RunCLIServer> {
565
567
);
566
568
await new Promise((resolve) => server.close(resolve));
569
},
570
+ workerThreadCount: totalWorkerCount,
571
};
572
} catch (error) {
573
if (!args.debug) {
0 commit comments