Support Sapho replay and public cache questions

This commit is contained in:
Quintine committed 2026-10-28 19:28:19 +11:00
1 parent 7d71647a90
commit 26be6fd8ee
17 files changed
+393 -22

No files matched your search

+3 -1
View File
@@ -70,7 +70,9 @@ void test('started-tail last includes Guild while retaining the active turn and
assert.equal(quote.next.protectedLast, 'holder');
assert.equal(quote.next.event, input.queue.event);
assert.deepEqual(input, before);
assert.throws(() => saphoMovementOrderEvent({ ...input, queue: quote.next }), SaphoMovementOrderError);
const protectedContext = { ...input, queue: quote.next };
const event = saphoMovementOrderEvent(protectedContext);
assert.throws(() => reorderSaphoMovementOrder(protectedContext, { event, player: 'later', mode: 'first' }), SaphoMovementOrderError);
});
void test('an already started actor cannot use either mode to split its combined turn', () => {