Open supported optional modules through normal lobby previews

This commit is contained in:
Quintine committed 2026-10-17 17:22:08 +11:00
1 parent b8ad2f011f
commit 210aa04811
17 files changed
+275 -78

No files matched your search

+2 -5
View File
@@ -37,12 +37,9 @@ function custody(g: Game) {
);
validateDiscoveryState(g.discoveries!);
}
void test('Discovery real setup deals seven spice cards and eight opaque tokens while normal starts remain gated', () => {
void test('Discovery real setup deals seven spice cards and eight opaque tokens', () => {
for (const advanced of [false, true]) {
const lobby = discoveryLobby(advanced),
before = structuredClone(lobby);
assert.throws(() => applyAction(lobby, lobby.host, { type: 'start' }));
assert.deepEqual(lobby, before);
const lobby = discoveryLobby(advanced);
const g = initializeDiscoveryGameForAudit(lobby);
assert.equal(g.spiceDeck.length, spiceDeck().length + 7);
assert.equal(