import test from "node:test"; import assert from "node:assert/strict"; import { readFile } from "node:fs/promises"; const server = await readFile(new URL("../src/server.js", import.meta.url), "utf8"); test("single program collection runs selected platforms in parallel with quick search", () => { assert.match(server, /url\.pathname === "\/api\/collect"/); assert.match(server, /delayMs: 0/); assert.match(server, /quickSearch: body\.quickSearch !== false/); assert.match(server, /parallelPlatforms: true/); });