Run logic tests
run_testsRun headless Node logic tests for the game and get each failure with its message, source line, and game tick, scene, and state. Use after every change and add tests for new mechanics.
Instructions
Run the logic tests in tests/**/*.test.ts (keiko): the real game in Node, no browser, in milliseconds. Each failure has its message, the source line, and the game's tick, scene and state when it failed. Use after every change; write a test for each mechanic you add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project root. Absolute path, or relative to the server's root. Default: the server's root. | |
| files | No | Test files relative to the root. Default: all. | |
| filter | No | Only run tests whose name contains this text. |