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.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
test(ibm): assert the twin's bad-request error code and reformat two galaxy assertions
nirholas9ff55f8d0a7e
diff --git a/tests/api/ibm-galaxy.test.js b/tests/api/ibm-galaxy.test.jsindex d7528d5b3..4fe601c37 100644--- a/tests/api/ibm-galaxy.test.js+++ b/tests/api/ibm-galaxy.test.js@@ -249,7 +249,9 @@ describe('GET /api/ibm/galaxy', () => {expect(body.agents).toEqual([]);expect(body.meta.reason).toBe('too_few_agents');// An empty layout must never poison the cache.- expect(state.sqlCalls.some((t) => t.includes('INSERT INTO agent_galaxy_cache'))).toBe(false);+ expect(state.sqlCalls.some((t) => t.includes('INSERT INTO agent_galaxy_cache'))).toBe(+ false,+ );});it('says so when watsonx is not configured', async () => {@@ -321,8 +323,9 @@ describe('lazy cache-table create', () => {vi.resetModules();const fresh = (await import('../../api/ibm/galaxy.js')).default;const ddlCalls = () =>- state.sqlCalls.filter((t) => t.includes('CREATE TABLE IF NOT EXISTS agent_galaxy_cache'))- .length;+ state.sqlCalls.filter((t) =>+ t.includes('CREATE TABLE IF NOT EXISTS agent_galaxy_cache'),+ ).length;state.ddlFailures = 1;const failed = makeRes();diff --git a/tests/api/ibm-twin.test.js b/tests/api/ibm-twin.test.jsindex f6c5c9572..03a4542e8 100644--- a/tests/api/ibm-twin.test.js+++ b/tests/api/ibm-twin.test.js@@ -323,6 +323,7 @@ describe('GET /api/ibm/twin — token mint resolution', () => {it('returns 400 when neither pool nor token is provided', async () => {const { res, body } = await callGet('/api/ibm/twin');expect(res.statusCode).toBe(400);+ expect(body.error).toBe('bad_request');});});