mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
test(mcp): remove arbitrary schema inventory thresholds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user