mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
9a6ee39d96
- Add package.json exports for v2/{express,hono,node} subpaths
- Add elysia devDependency and tsdown entry points
- Exclude bun integration tests from vitest config
- Update CI workflows to include runtime-servers test job
- Add runtime-server-adapter docs page
- Add changeset for the fetch-based runtime feature
23 lines
625 B
JavaScript
23 lines
625 B
JavaScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
// Prevent Scarf telemetry events from firing during test runs
|
|
env: {
|
|
COPILOTKIT_TELEMETRY_DISABLED: "true",
|
|
},
|
|
environment: "node",
|
|
globals: true,
|
|
include: ["src/**/__tests__/**/*.{test,spec}.ts"],
|
|
exclude: ["**/node_modules/**", "**/integration/bun/**"],
|
|
reporters: [["default", { summary: false }]],
|
|
silent: true,
|
|
coverage: {
|
|
reporter: ["text", "lcov", "html"],
|
|
include: ["src/**/*.ts"],
|
|
exclude: ["src/**/*.d.ts", "src/**/index.ts"],
|
|
},
|
|
setupFiles: [],
|
|
},
|
|
});
|