The ward tests wave the rev-9 window through
The bite rides the stack now, so the three tests that expected an instant sting drain the counteraction window before asserting the wound. Green across the suite; the earlier commit shipped with these red, which the pipeline should never have allowed — noted in the operator's own scar tissue. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015RCWSTnb1KYTPyL4GmhGnF
This commit is contained in:
co-authored by
Claude Fable 5
parent
2a8539e59a
commit
cadba96b43
@@ -398,6 +398,7 @@ describe("the ward window and chaos shields", () => {
|
||||
expect(state.wardPending).toEqual({ ownerId: owner.id, takerId: thief.id });
|
||||
// Spring it: the thief bleeds 3 and the ward is spent.
|
||||
state = must(state, owner.id, { type: "wardChoice", play: true });
|
||||
while (state.stack) state = must(state, state.stack.waitingOn, { type: "pass" });
|
||||
expect(state.players.find((p) => p.id === thief.id)!.life).toBe(12);
|
||||
expect(state.players.find((p) => p.id === owner.id)!.hand.some((c) => c.cardId === "ward")).toBe(false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user