test(FN-4603): complete Step 3 — cover web fetch network_api gating

Fusion-Task-Id: FN-4603
Fusion-Task-Lineage: c74085e2-d91c-468f-883b-5c33818e53fd
This commit is contained in:
Fusion
2026-05-15 07:32:29 -07:00
committed by gsxdsm
parent d26b89c767
commit 73b5e70a40
2 changed files with 36 additions and 4 deletions

View File

@@ -106,6 +106,12 @@ describe("gating-classifications parity", () => {
}
});
it("classifies fn_web_fetch as network_api in both action and permanent sets", () => {
expect(ACTION_GATE_NETWORK_API_TOOLS.has("fn_web_fetch")).toBe(true);
expect(NETWORK_API_TOOLS.has("fn_web_fetch")).toBe(true);
expect(COORDINATION_EXEMPT_TOOLS.includes("fn_web_fetch")).toBe(false);
});
it("keeps fn_* category equivalence mappings across gates", () => {
const fnTools = new Set<string>();
for (const source of [