Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/agent-voice-chat/vitest.config.js

overstepping0228df3f3703
diff --git a/xspace-agent/agent-voice-chat/vitest.config.js b/xspace-agent/agent-voice-chat/vitest.config.js
new file mode 100644
index 000000000..58bbe318e
--- /dev/null
+++ b/xspace-agent/agent-voice-chat/vitest.config.js
@@ -0,0 +1,43 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent)
+
+import { defineConfig } from "vitest/config"
+
+export default defineConfig({
+ test: {
+ globals: true,
+ environment: "node",
+ include: ["tests/**/*.test.js"],
+ exclude: ["tests/e2e/**"],
+ testTimeout: 10000,
+ hookTimeout: 10000,
+ teardownTimeout: 5000,
+ fileParallelism: false,
+ coverage: {
+ provider: "v8",
+ reporter: ["text", "lcov"],
+ include: [
+ "lib/**/*.js",
+ "providers/index.js",
+ "providers/openai-realtime.js",
+ "providers/conversation-history.js",
+ "agent-registry.js",
+ "room-manager.js",
+ "src/server/middleware/**/*.js",
+ "src/server/routes/agents.js",
+ "src/server/routes/rooms.js",
+ "src/server/routes/system.js",
+ "src/server/routes/registry.js"
+ ],
+ exclude: [],
+ thresholds: {
+ lines: 80,
+ functions: 80,
+ branches: 70,
+ statements: 80
+ }
+ }
+ }
+})
+
+