Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/test/formal-route-tree.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ async function isolatedRouteTable(): Promise<RouteTable> {
let table: RouteTable;

const RUNS = Number(process.env.FORMAL_RUNS ?? 200);
const MS_PER_RUN = 150;
const MIN_TIMEOUT_MS = 30_000;
const SEED = Number(process.env.FORMAL_SEED ?? 20_261_117);
const MODES: readonly Mode[] = [
"handler",
Expand Down Expand Up @@ -333,7 +335,8 @@ async function runScenario(scenario: Scenario): Promise<void> {
}

describe("Route tree against a Map-based reference router", () => {
it("registers, matches and unregisters like the reference for any segment, method and parameter name", async () => {
it("registers, matches and unregisters like the reference for any segment, method and parameter name", async function () {
this.timeout(Math.max(MIN_TIMEOUT_MS, RUNS * MS_PER_RUN));
const outcome = await fc.check(
fc.asyncProperty(scenarioArbitrary(), runScenario),
{
Expand Down