Compose original mixed and paired Nexus optional modules

This commit is contained in:
Quintine committed 2026-10-07 14:12:47 +11:00
1 parent 0e1797d4e0
commit 05ab2c92b0
30 files changed
+2268 -203

No files matched your search

+4 -7
View File
@@ -331,12 +331,9 @@ void test('original Discovery supply, reveal and free nested entry survive the l
physical(done);
});
void test('Advanced Harkonnen and mixed-E3 original lobbies remain inadmissible without mutating the declared source pieces', () => {
void test('Advanced Harkonnen original lobbies remain inadmissible without mutating declared source pieces', () => {
const native = lobby(); joinGame(native, newPlayer('harkonnen', 'Harkonnen', 'harkonnen'));
const mixed = lobby(); joinGame(mixed, newPlayer('ecaz', 'Ecaz', 'ecaz'));
for (const g of [native, mixed]) {
let ready = reload(g);
for (const p of ready.players) ready = act(ready, { actor: p.id, action: { type: 'ready' } });
const before = structuredClone(ready); assert.throws(() => initializeNexusGameForAudit(ready)); assert.deepEqual(ready, before);
}
let ready = reload(native);
for (const p of ready.players) ready = act(ready, { actor: p.id, action: { type: 'ready' } });
const before = structuredClone(ready); assert.throws(() => initializeNexusGameForAudit(ready)); assert.deepEqual(ready, before);
});