Bind completed Semuta exchanges to Truthtrance promises

This commit is contained in:
Quintine committed 2026-10-27 08:27:53 +11:00
1 parent 4c4bebe85e
commit b02839ce2a
24 files changed
+1014 -40

No files matched your search

+4
View File
@@ -76,4 +76,8 @@ void test('passed, blocked, busy and waiting seats hide or disable unavailable c
assert.match(markup(offer(), true), /disabled=""[^>]*>Continue/);
assert.match(markup(offer({ stage: 'select', candidates: [first, second] }), true),
/disabled=""[^>]*>Claim Projectile/);
const required = markup(offer({ canCommit: true, passBlocked: 'Keep this required fresh exchange.' }));
assert.match(required, /Keep this required fresh exchange/);
assert.match(required, /disabled=""[^>]*>Continue/);
assert.doesNotMatch(required, /disabled=""[^>]*>Commit Semuta Drug/);
});