A WebGPU retro game engine for TypeScript, inspired by RetroBlit. Build pixel-perfect 2D games with a clean, fantasy-console-style API.

test(api): add clone-per-read contract tests for BT snapshot getters master

Verify that BT.canvasDisplaySize, BT.outputSize, and BT.camera each return an independent clone on every read, so mutating the returned vector does not affect subsequent reads. Also fixes a JSDoc {@link HardwareSettings} reference in docs/api-core.md that rendered as a literal tag in Markdown; replaced with a plain backtick reference. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Vaclav Vancura <commit@vancura.dev>


+33 -3
2 changed files