Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
import path from "node:path"
import { cloudflareTest, readD1Migrations } from "@cloudflare/vitest-plugin"
import { defineProject } from "vitest/config"
const migrations = await readD1Migrations(path.resolve(import.meta.dirname, "../web/migrations"))
export default defineProject({
plugins: [
cloudflareTest({
wrangler: { configPath: "./wrangler.toml" },
miniflare: {
bindings: {
ENCRYPTION_KEY: "runtime-test-encryption-key",
TEST_MIGRATIONS: migrations,
},
serviceBindings: {
WEB_SERVICE: () => new Response("ok"),
},
},
}),
],
test: {
name: "email-worker-runtime",
include: ["test-runtime/**/*.runtime.test.ts"],
setupFiles: ["test-runtime/apply-migrations.ts"],
sequence: { groupOrder: 11 },
},
})