Add prepayment Guild rate Karama response

This commit is contained in:
Quintine committed 2026-09-29 15:32:49 +10:00
1 parent 745e4fa8ab
commit 8a23b5ccd2
17 files changed
+567 -21

No files matched your search

+6 -1
View File
@@ -168,7 +168,12 @@ void test('Guild income from either contributor direction can be allowed or canc
const { g, shipper, donor } = fixture(direction, route);
const card = holdKarama(g, 'a');
const beforeGuild = player(g, 'g').spice;
const pending = applyAction(g, shipper, shipment(route, 1));
let pending = applyAction(g, shipper, shipment(route, 1));
if (route === 'reserve') {
assert.equal(pending.response?.kind, 'guildRate');
assert.equal(player(pending, shipper).shipped, false);
pending = applyAction(pending, 'a', { type: 'passResponse' });
}
assert.equal(pending.response?.kind, 'guildIncome');
assert.equal(pending.response?.owner, 'g');
assert.equal(pending.response?.amount, 1);