Support Advanced Semuta at Sapho auction ordering
Verify and publish checkpoint container / container (push) Canceled after 0s

This commit is contained in:
Quintine committed 2026-11-16 18:54:59 +11:00
1 parent 868713eeb9
commit dd4222ee92
9 files changed
+270 -19

No files matched your search

+2 -2
View File
@@ -48,7 +48,7 @@ function openTimedTruth(advanced: boolean, semuta: boolean) {
for (const scenario of [
{label:'Basic Semuta pass',advanced:false,semuta:true,claim:false},
{label:'Basic Semuta claim',advanced:false,semuta:true,claim:true},
{label:'Advanced without Semuta preview',advanced:true,semuta:false,claim:false},
{label:'Advanced neutral Semuta offer',advanced:true,semuta:false,claim:false},
]) void test(`${scenario.label}: the native bidder clock pauses through Truth order and Sapho disposal`, () => {
const {f,game:opened,initial} = openTimedTruth(scenario.advanced,scenario.semuta);
let game = opened;
@@ -61,7 +61,7 @@ for (const scenario of [
assert.equal(game.auctionClock?.event,event); assert.equal(game.auctionClock?.player,playerId);
assert.equal(game.auctionClock?.remainingMs,8_000); assert.equal(game.auctionClock?.startedAt,null);
assert.deepEqual(game.auction,beforeLot);
if (scenario.semuta) {
if (scenario.semuta || scenario.advanced) {
assert.ok(game.pendingTreacheryDiscard?.reaction);
const pendingEvent = game.pendingTreacheryDiscard.batch.event;
const held = advanceAuctionClock(game,100_000,epoch);