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/packages/core/vitest.config.ts

overstepping6e938a6e7acf
diff --git a/xspace-agent/packages/core/vitest.config.ts b/xspace-agent/packages/core/vitest.config.ts
new file mode 100644
index 000000000..88ae413f7
--- /dev/null
+++ b/xspace-agent/packages/core/vitest.config.ts
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§72]
+
+import { defineConfig } from 'vitest/config'
+
+export default defineConfig({
+ test: {
+ globals: true,
+ environment: 'node',
+ include: ['tests/**/*.test.ts', 'src/__tests__/**/*.test.ts'],
+ exclude: ['src/__tests__/e2e/**'],
+ coverage: {
+ provider: 'v8',
+ reporter: ['text', 'lcov', 'html'],
+ include: ['src/**/*.ts'],
+ exclude: [
+ 'src/types.ts',
+ 'src/browser/**',
+ 'src/__tests__/**',
+ '**/*.test.ts',
+ '**/*.spec.ts',
+ '**/index.ts',
+ ],
+ thresholds: {
+ statements: 90,
+ branches: 85,
+ functions: 90,
+ lines: 90,
+ },
+ },
+ testTimeout: 10000,
+ },
+})
+
+