Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
mts 19 lines 469 Bytes
Raw
1 import { cloudflareTest } from '@cloudflare/vitest-pool-workers';
2 import { config } from 'dotenv';
3 import { defineConfig } from 'vitest/config';
4
5 config();
6
7 export default defineConfig({
8 plugins: [
9 cloudflareTest({
10 wrangler: { configPath: './wrangler.jsonc' },
11 miniflare: {
12 bindings: {
13 COMPOSIO_API_KEY: process.env.COMPOSIO_API_KEY!,
14 COMPOSIO_BASE_URL: process.env.COMPOSIO_BASE_URL!,
15 },
16 },
17 }),
18 ],
19 });