From 24673aaae497ca4ef0902544c0cd69817f5424ed Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Fri, 9 Oct 2026 23:17:17 +0800 Subject: [PATCH] test(mcp): remove arbitrary schema inventory thresholds --- tests/boundary/mcp/advertisedPatternsVMode.test.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/boundary/mcp/advertisedPatternsVMode.test.ts b/tests/boundary/mcp/advertisedPatternsVMode.test.ts index 20946d8afc..595c356fc6 100644 --- a/tests/boundary/mcp/advertisedPatternsVMode.test.ts +++ b/tests/boundary/mcp/advertisedPatternsVMode.test.ts @@ -54,11 +54,6 @@ it("advertises portable NUL escapes and patterns that compile in all JS modes", collectPatterns(tool.outputSchema, "outputSchema", tool.name, patterns); } - // A traversal that silently collapses would make the compilation check below - // vacuous, so the inventory itself is asserted. - expect(advertised.length).toBeGreaterThan(100); - expect(patterns.length).toBeGreaterThan(500); - // Annex B and `u` mode accept an unescaped `-`, `/` or `[` inside a character // class, so REA's own schema validation cannot observe the defect. `v` mode // rejects them, and a client that compiles advertised patterns rejects the