mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
94c9c1d4c3
Headless React Native wrapper for CopilotKit. Provides a lightweight CopilotKitProvider and re-exports platform-agnostic hooks from react-core without pulling web dependencies (no DOM, CSS, Radix, Lit, A2UI). Includes XHR-based streaming fetch polyfill for Hermes and granular polyfills for streams, encoding, crypto, DOM, and location APIs.
18 lines
393 B
JavaScript
18 lines
393 B
JavaScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "jsdom",
|
|
globals: true,
|
|
include: ["src/**/__tests__/**/*.{test,spec}.{ts,tsx}"],
|
|
setupFiles: ["./src/__tests__/setup.ts"],
|
|
reporters: [["default", { summary: false }]],
|
|
silent: true,
|
|
server: {
|
|
deps: {
|
|
inline: [/@copilotkit/],
|
|
},
|
|
},
|
|
},
|
|
});
|