diff --git a/packages/solid/src/mappers/deckMapper.test.ts b/packages/solid/src/mappers/deckMapper.test.ts index 331a8533..834fb1e5 100644 --- a/packages/solid/src/mappers/deckMapper.test.ts +++ b/packages/solid/src/mappers/deckMapper.test.ts @@ -388,7 +388,12 @@ describe("toDeck", () => { }); describe("toDecks over many decks and agents", () => { - it("takes time that grows with them, not their product (GHSA-hcrw-cr33-jg78)", () => { + // Thousands of decks, mapped many times over: seconds on a laptop, and many + // times that in CI, coverage on and every package's tests run at once. What + // is held to is the ratio, of CPU time; the clock only stops a test that never ends. + it("takes time that grows with them, not their product (GHSA-hcrw-cr33-jg78)", { + timeout: 180_000, + }, () => { const ratio = growth( (count) => { const subjects = Array.from({ length: count }, (_, i) => [ diff --git a/packages/solid/src/solidDeckArchive.test.ts b/packages/solid/src/solidDeckArchive.test.ts index 600f7cf8..69514e5f 100644 --- a/packages/solid/src/solidDeckArchive.test.ts +++ b/packages/solid/src/solidDeckArchive.test.ts @@ -322,7 +322,12 @@ describe("readDeckFile", () => { expect(agentNamesOf).not.toHaveBeenCalled(); }); - it("refuses a file of many decks and agents in time that grows with them, not their product (GHSA-hcrw-cr33-jg78)", async () => { + // Thousands of decks, parsed many times over: seconds on a laptop, and many + // times that in CI, coverage on and every package's tests run at once. What + // is held to is the ratio, of CPU time; the clock only stops a test that never ends. + it("refuses a file of many decks and agents in time that grows with them, not their product (GHSA-hcrw-cr33-jg78)", { + timeout: 180_000, + }, async () => { const ratio = await growthAsync( (count) => { let text = PREFIXES;