Extend conditional battle questions across previews
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
0e52c25355
commit
50703664cf
13 files changed
+336
-24
No files matched your search
@@ -32,7 +32,7 @@ void test('future battle question lists only the target faction’s public nativ
|
||||
const props = { game, target: 'target', leader: native.id, available: true, busy: false,
|
||||
onLeaderChange: (_leader: string) => {}, onAsk: (_target: string, _leader: string) => {} };
|
||||
const html = renderToStaticMarkup(createElement(TruthFutureBattleLeader, props));
|
||||
assert.match(html, /If you fight a battle later this turn/);
|
||||
assert.match(html, /If you submit a battle plan later this turn/);
|
||||
assert.match(html, /first such battle/);
|
||||
assert.match(html, /there is no opportunity/);
|
||||
assert.ok(html.includes(native.name));
|
||||
|
||||
Reference in new issue
Block a user