Seal exact native Homeworld Reinforcements costs and plan sources

This commit is contained in:
Quintine committed 2026-10-16 13:07:49 +11:00
1 parent 05c4c8c7fb
commit c64c08af89
32 files changed
+1484 -119

No files matched your search

-11
View File
@@ -13,9 +13,7 @@ import { botActions } from '../game/bots';
import { DIFFICULTIES } from '../game/bot-profiles';
import {
truthFactAnswer,
truthQuestionText,
type TruthFact,
type TruthQuestion,
} from '../game/truthtrance';
function fixture(spice = 7) {
@@ -392,14 +390,5 @@ void test('a current-spice answer records a fact rather than forbidding a subseq
paid.battle?.truthPromises ?? [],
done.battle?.truthPromises ?? [],
);
const q: TruthQuestion = {
kind: 'fact',
target: 'e',
fact: spiceFact('gte', 41),
};
assert.match(
truthQuestionText(q, () => 'unused'),
/currently hold at least 41 spice/,
);
assert.deepEqual(cards(paid), cards(initial));
});