> roleplayer@0.0.17 test > jest PASS src/core/action/action.test.ts actions ✓ should apply effects from being hit (9 ms) PASS src/data/rulesets/dnd-5th.test.ts dnd-5th ✓ should calculate battle acting order based on character initiative stats (12 ms) PASS src/core/actor/character.test.ts Character Create character events ✓ should handle create character events (10 ms) ✓ should apply maximum health change events (2 ms) ✓ should apply movement events (1 ms) ✓ should reject movement event when movement exceeds remaining movement (42 ms) ✓ should apply temporary resource change events (2 ms) ✓ should apply item gain events (1 ms) ✓ should apply reject character events if character doesn't exist (1 ms) ✓ should handle unknown events gracefully ✓ should set correct resource types from template (2 ms) Character actions ✓ should return a list of possible actions based on the character class abilities, spells and inventory (1 ms) PASS src/core/roleplayer.test.ts roleplayer ✓ should instantiate without errors (1 ms) PASS src/core/campaign/campaign-state.test.ts Campaign state ✓ calculates correct character level (1 ms) ✓ applies events (1 ms) Test Suites: 5 passed, 5 total Tests: 15 passed, 15 total Snapshots: 0 total Time: 1.875 s Ran all test suites.