mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(test): TOOLS_GROUP expected includes agent-bridge/traffic-inspector
Plan 14 (#2839) test listed only cli-code/cli-agents/acp-agents/cloud-agents; #2858 added agent-bridge/traffic-inspector to TOOLS_GROUP. Align test to real code (both feature sets).
This commit is contained in:
@@ -25,13 +25,14 @@ function getToolsGroup() {
|
||||
};
|
||||
}
|
||||
|
||||
test("TOOLS_GROUP items follow plan 14 order: cli-code → cli-agents → acp-agents → cloud-agents", () => {
|
||||
test("TOOLS_GROUP items follow plan 14 order: cli-code → cli-agents → acp-agents → cloud-agents → agent-bridge → traffic-inspector", () => {
|
||||
const toolsGroup = getToolsGroup();
|
||||
const itemIds = toolsGroup.items.map((item) => item.id);
|
||||
// cli-code/cli-agents/acp-agents/cloud-agents from plan 14 (#2839); agent-bridge/traffic-inspector from plans 11/12 (#2858).
|
||||
assert.deepEqual(
|
||||
itemIds,
|
||||
["cli-code", "cli-agents", "acp-agents", "cloud-agents"],
|
||||
"TOOLS_GROUP items order must be cli-code, cli-agents, acp-agents, cloud-agents"
|
||||
["cli-code", "cli-agents", "acp-agents", "cloud-agents", "agent-bridge", "traffic-inspector"],
|
||||
"TOOLS_GROUP items order must be cli-code, cli-agents, acp-agents, cloud-agents, agent-bridge, traffic-inspector"
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user