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.

fix(tests): repair the unterminated string that stopped the media-preflight suite loading

nirholasc0ec3d7cfd2d
diff --git a/tests/server-media-cors-preflight.test.js b/tests/server-media-cors-preflight.test.js
index 233b4ce1c..39c77dfcf 100644
--- a/tests/server-media-cors-preflight.test.js
+++ b/tests/server-media-cors-preflight.test.js
@@ -37,7 +37,7 @@ const preflight = (path, headers = {}) =>
});
describe('cross-origin preflight on the public media routes', () => {
- it('answers 204 with the route's own CORS headers', async () => {
+ it("answers 204 with the CORS headers the route already collected", async () => {
const res = await preflight('/avatars/cesium-man.glb');
expect(res.status).toBe(204);
expect(res.headers.get('access-control-allow-origin')).toBe('*');