Skip to content

createMockScene

createMockScene(name?): object

Defined in: test-utils.ts:45

Create a lightweight mock scene with EngineContext for unit tests.

string = "mock-scene"

object

context: EngineContext

scene: Scene

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.