chore: pass PR1 verification gate (format, lint, coverage)
CI / verify (push) Successful in 48s
CI / verify (pull_request) Successful in 50s

This commit is contained in:
ginnoir
2026-06-11 18:23:43 -05:00
parent cc4955abab
commit 1c5fcc80ad
8 changed files with 127 additions and 19 deletions
+5 -3
View File
@@ -16,9 +16,11 @@ describe('M1 stub content pack', () => {
it('can simulate a costed action without throwing', () => {
const state = createGameState(content);
const trade = content.actions.find((a) => a.costs.length > 0);
expect(trade).toBeDefined();
enqueueAction(state, content, trade!.id);
tickGame(state, content, trade!.durationMs);
if (!trade) {
throw new Error('expected at least one costed action');
}
enqueueAction(state, content, trade.id);
tickGame(state, content, trade.durationMs);
expect(state.activeActionId).toBeNull();
});
});