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/tests/unit/providers/custom.test.ts

oversteppingf8990069686d
diff --git a/xspace-agent/packages/core/tests/unit/providers/custom.test.ts b/xspace-agent/packages/core/tests/unit/providers/custom.test.ts
new file mode 100644
index 000000000..84633c577
--- /dev/null
+++ b/xspace-agent/packages/core/tests/unit/providers/custom.test.ts
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§82]
+
+import { describe, it, expect } from 'vitest'
+
+// The custom.ts file is just a type re-export, so we test that the types are properly exported
+// and usable. This tests the type compatibility at the import level.
+
+describe('Custom Provider (type re-export)', () => {
+ it('should re-export CustomProvider type from pipeline/types', async () => {
+ // Dynamic import to verify the module resolves correctly
+ const customModule = await import('../../../src/providers/custom')
+ // The module exports a type, so at runtime there's nothing concrete to check.
+ // We verify the module resolves without error.
+ expect(customModule).toBeDefined()
+ })
+
+ it('should have CustomProvider available from the main types', async () => {
+ // Verify the canonical type is importable from the source
+ const types = await import('../../../src/pipeline/types')
+ expect(types).toBeDefined()
+ })
+})
+
+