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

oversteppinga5bec5dcd855
diff --git a/xspace-agent/packages/widget/vitest.config.ts b/xspace-agent/packages/widget/vitest.config.ts
new file mode 100644
index 000000000..b74fe87b0
--- /dev/null
+++ b/xspace-agent/packages/widget/vitest.config.ts
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§71]
+
+import { defineConfig } from 'vitest/config'
+import { resolve } from 'path'
+
+export default defineConfig({
+ resolve: {
+ alias: {
+ '@': resolve(__dirname, 'src'),
+ },
+ },
+ test: {
+ environment: 'jsdom',
+ globals: true,
+ include: ['src/__tests__/**/*.test.ts'],
+ },
+})
+
+