Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(editor): use ui-controls as the component-less schema fixture

esengine30c6b0d43331
diff --git a/desktop/tests/project-scripts.test.ts b/desktop/tests/project-scripts.test.ts
index de8d032b7..7c4230169 100644
--- a/desktop/tests/project-scripts.test.ts
+++ b/desktop/tests/project-scripts.test.ts
@@ -62,7 +62,7 @@ describe('extraction against real examples (declaration/startup separation)', ()
});
it('a component-less example (no src/components.ts) yields an empty schema set', async () => {
- const res = await extractExample('particle-demo');
+ const res = await extractExample('ui-controls');
expect(res.ok).toBe(true);
expect(res.schemas).toEqual([]);
});