fakeKit beta
Function of @v12-engine/client/testing
ts
export declare function fakeKit(members?: FakeOf<RenderKit>): RenderKit;The render kit (LiteRenderKit) for a test of a game's own renderer made of one, with no renderer: only the members the test gives (FakeOf), ring doing nothing where it gives none
ts
// fakeKit, of `@v12-engine/client/testing`
const kit = fakeKit({ drawn: () => ({ x: 1, y: 0, z: 1, visible: true }) })
const shield = shieldRenderer(kit)