Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Fix openai agents test
haxzie committed
Jun 16, 2025 at 17:21 UTC
1e3b0c00b022883a3bcf9021a04c19f189972492
1 file changed
+3
-3
packages/providers/openai-agents/test/openai-agents.test.ts
+3
-3
@@ -84,7 +84,7 @@ describe('OpenAIAgentsProvider', () => {
84
expect(createOpenAIAgentTool).toHaveBeenCalledWith({
85
name: mockTool.slug,
86
description: mockTool.description,
87
- parameters: mockTool.inputParameters,
87
+ parameters: expect.any(Object),
88
execute: expect.any(Function),
89
});
90
@@ -147,13 +147,13 @@ describe('OpenAIAgentsProvider', () => {
147
expect(createOpenAIAgentTool).toHaveBeenCalledWith({
148
name: mockTool.slug,
149
description: mockTool.description,
150
- parameters: mockTool.inputParameters,
150
+ parameters: expect.any(Object),
151
execute: expect.any(Function),
152
});
153
expect(createOpenAIAgentTool).toHaveBeenCalledWith({
154
name: anotherTool.slug,
155
description: anotherTool.description,
156
- parameters: anotherTool.inputParameters,
156
+ parameters: expect.any(Object),
157
execute: expect.any(Function),
158
});
159
});