Check Advanced victory after Mentat actions
Verify and publish checkpoint container / container (push) Successful in 10m42s
Verify and publish checkpoint container / container (push) Successful in 10m42s
This commit is contained in:
1 parent
c608d6fea6
commit
64706cc7e0
12 files changed
+339
-27
No files matched your search
@@ -34,6 +34,12 @@ function actual(g: Game) {
|
||||
let result = structuredClone(g);
|
||||
result.phase = 7;
|
||||
for (const p of result.players) result = applyAction(result, p.id, { type: 'ready' });
|
||||
if (result.advanced) {
|
||||
assert.equal(result.phase, 8);
|
||||
assert.equal(result.status, 'playing');
|
||||
assert.ok(!result.victoryContinuation);
|
||||
for (const p of result.players) result = applyAction(result, p.id, { type: 'ready' });
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user