Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(mcp): remove arbitrary schema inventory thresholds

morluto24673aaae497
diff --git a/tests/boundary/mcp/advertisedPatternsVMode.test.ts b/tests/boundary/mcp/advertisedPatternsVMode.test.ts
index 20946d8af..595c356fc 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