Route Advanced Emperor allied auction funding
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
3ba9087405
commit
599af2475d
19 files changed
+883
-35
No files matched your search
@@ -129,14 +129,14 @@ void test('an unreconciled prior-turn commitment blocks group shipment funding',
|
||||
assert.deepEqual(game, before);
|
||||
});
|
||||
|
||||
void test('a live No bribe-expression commitment blocks group shipment funding', () => {
|
||||
void test('a live No bribe-expression commitment permits group shipment funding', () => {
|
||||
const game = fixture();
|
||||
game.bribeExpressionPromises = [{event:'live-expression-no', player:'b', asker:'a',
|
||||
turn:game.turn, claim:{kind:'payment', recipient:'d', minimum:1}, answer:false, progress:[]}];
|
||||
assert.equal(viewGame(game, 'a').coalitionFunding, null);
|
||||
const before = structuredClone(game);
|
||||
assert.throws(() => send(game, 'b', {type:'coalitionPledge', recipient:'a', amount:4}));
|
||||
assert.deepEqual(game, before);
|
||||
assert.ok(viewGame(game, 'a').coalitionFunding);
|
||||
const pledged = send(game, 'b', {type:'coalitionPledge', recipient:'a', amount:4});
|
||||
assert.equal(remaining(pledged, 'b'), 4);
|
||||
assert.deepEqual(pledged.bribeExpressionPromises, game.bribeExpressionPromises);
|
||||
});
|
||||
|
||||
void test('a current unsupported Truthtrance commitment still blocks group shipment funding', () => {
|
||||
|
||||
Reference in new issue
Block a user