Allow user-approved atomic full-hand Semuta exchange

This commit is contained in:
Quintine committed 2026-09-30 17:39:23 +10:00
1 parent 98d556a0e0
commit 3285172eec
16 files changed
+168 -69

No files matched your search

+1 -3
View File
@@ -70,9 +70,7 @@ void test('passed, blocked, busy and waiting seats hide or disable unavailable c
const passed = offer({ passed: true, canCommit: true });
assert.match(markup(passed), /You continued/);
assert.doesNotMatch(markup(passed), /Commit Semuta Drug|>Continue</);
const blocked = offer({ blocked: 'Your hand has no free slot.' });
assert.match(markup(blocked), /Your hand has no free slot/);
assert.doesNotMatch(markup(offer()), /Your hand has no free slot/);
const blocked = offer({ blocked: 'Reserved for an unfinished transaction.' });
assert.doesNotMatch(markup(blocked), /Commit Semuta Drug/);
assert.match(markup(offer({ canCommit: true }), true), /disabled=""[^>]*>Commit Semuta Drug/);
assert.match(markup(offer(), true), /disabled=""[^>]*>Continue/);