createMockEntity
createMockEntity(
name?):object
Defined in: test-utils.ts:72
Create a mock entity spawned in a mock scene with full EngineContext access.
Parameters
Section titled “Parameters”string = "mock-entity"
Returns
Section titled “Returns”object
context
Section titled “context”context:
EngineContext
entity
Section titled “entity”entity:
Entity
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.