@devries-cameron20 / composio-1 / commits / f22215494
Fork 0

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 test-layer toolkits defaults merge

jkomyno committed Feb 19, 2026 at 02:22 UTC f22215494c4e6cd22c184d3a5d709f19678994b8
1 file changed +5 -4
ts/packages/cli/test/__utils__/services/test-layer.ts
+5 -4
@@ -90,10 +90,11 @@ export const TestLayer = (input?: TestLiveInput) =>
90 triggerTypesAsEnums: [] as TriggerTypesAsEnums,
91 triggerTypes: [] as TriggerTypes,
92 } satisfies TestLiveInput['toolkitsData'];
93 - const { fixture, toolkitsData } = Object.assign(
94 - { fixture: undefined, toolkitsData: defaultAppClientData },
95 - input
96 - );
93 + const fixture = input?.fixture;
94 + const toolkitsData = {
95 + ...defaultAppClientData,
96 + ...(input?.toolkitsData ?? {}),
97 + };
98
99 const tempDir = tempy.temporaryDirectory({ prefix: 'test' });
100 const cwd = (yield* setupFixtureFolder({ fixture, tempDir })) ?? tempDir;