Add prepayment Guild rate Karama response
This commit is contained in:
1 parent
745e4fa8ab
commit
8a23b5ccd2
17 files changed
+567
-21
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user