import { describe, it } from "@std/testing/bdd"; import { expect } from "@std/expect"; import { type FabrichatBenchmarkRooms, seedFabrichatBenchmarkRooms, } from "../integration/fabrichat-room-bench-support.ts"; describe("fabrichat-room-bench-support", () => { describe("seedFabrichatBenchmarkRooms()", () => { // Each seed is held open until the test releases it, so a case can see // which seeds are running at once and whether the call has returned. const heldSeeds = () => { type Label = keyof FabrichatBenchmarkRooms; const gates = { read: Promise.withResolvers(), send: Promise.withResolvers(), react: Promise.withResolvers(), }; const running = new Set