Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 22:00 UTC
fix(cli): fix test in "py generate"
jkomyno committed
Jul 29, 2025 at 00:33 UTC
40fe5f0e94bfeb371876312a2036a06f408eed6b
1 file changed
+2
-1
ts/packages/cli/test/src/commands/py/py.generate.cmd.test.ts
+2
-1
@@ -5,6 +5,7 @@ import { FileSystem } from '@effect/platform';
5
import { cli, TestLive } from 'test/__utils__';
6
import { makeTestToolkits } from 'test/__utils__/models/toolkits';
7
import { NodeProcess } from 'src/services/node-process';
8
+import { TRIGGER_TYPE_GMAIL } from 'test/__mocks__/trigger-type-gmail';
9
10
describe('CLI: composio py generate', () => {
11
const appClientData = {
@@ -19,7 +20,7 @@ describe('CLI: composio py generate', () => {
20
},
21
]),
22
tools: ['GMAIL_CREATE_EMAIL_DRAFT', 'GMAIL_DELETE_MESSAGE', 'GMAIL_FETCH_EMAILS'],
22
- triggerTypes: ['GMAIL_NEW_GMAIL_MESSAGE'],
23
+ triggerTypes: [TRIGGER_TYPE_GMAIL],
24
};
25
26
layer(