Update progression wiring assertions
This commit is contained in:
parent
2c4cb471ab
commit
0a4975fe96
@ -308,7 +308,7 @@ test('shipyard overlay uses supplied component art and explicit module purchases
|
|||||||
assert.match(shipyard, /data-upgrade-slot/);
|
assert.match(shipyard, /data-upgrade-slot/);
|
||||||
assert.match(shipyard, /CURRENT:/);
|
assert.match(shipyard, /CURRENT:/);
|
||||||
assert.match(shipyard, /NEXT:/);
|
assert.match(shipyard, /NEXT:/);
|
||||||
assert.match(shipyard, /dispatchAction\('scrap-salvage'\)/);
|
assert.match(shipyard, /dispatchAction\('scrap-salvage', \{ inventoryIndex: selectedSalvageIndex \}\)/);
|
||||||
assert.match(shipyard, /selectedSalvageIndex/);
|
assert.match(shipyard, /selectedSalvageIndex/);
|
||||||
assert.match(shipyard, /inventoryIndex: selectedSalvageIndex/);
|
assert.match(shipyard, /inventoryIndex: selectedSalvageIndex/);
|
||||||
assert.match(shipyard, /salvageItems/);
|
assert.match(shipyard, /salvageItems/);
|
||||||
@ -337,7 +337,7 @@ test('dock trade and missions are driven by generated port economy state', async
|
|||||||
read('src/dock-ui.js'),
|
read('src/dock-ui.js'),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
assert.match(game, /marketAtPort\(this\.world, port\)/);
|
assert.match(game, /marketAtPort\(this\.world, port, this\.progression\.economy\)/);
|
||||||
assert.match(game, /missionOffersAtPort\(this\.world, port, this\.defeated\)/);
|
assert.match(game, /missionOffersAtPort\(this\.world, port, this\.defeated\)/);
|
||||||
assert.match(game, /buyTradeGood\(/);
|
assert.match(game, /buyTradeGood\(/);
|
||||||
assert.match(game, /sellTradeGood\(/);
|
assert.match(game, /sellTradeGood\(/);
|
||||||
@ -407,7 +407,7 @@ test('procedural world and ship progression are wired into live gameplay', async
|
|||||||
assert.match(source, /installedConditions/);
|
assert.match(source, /installedConditions/);
|
||||||
assert.match(source, /bestAffordableMarketUpgrade\(/);
|
assert.match(source, /bestAffordableMarketUpgrade\(/);
|
||||||
assert.match(source, /buyAndInstallModule\(/);
|
assert.match(source, /buyAndInstallModule\(/);
|
||||||
assert.match(source, /installModule\(this\.progression, moduleId\)/);
|
assert.match(source, /installInventoryModule\(this\.progression, inventoryIndex\)/);
|
||||||
assert.match(source, /this\.playerBroadsideReloadMs = this\.playerStats\.reloadMs/);
|
assert.match(source, /this\.playerBroadsideReloadMs = this\.playerStats\.reloadMs/);
|
||||||
assert.match(source, /stats\.windExposure/);
|
assert.match(source, /stats\.windExposure/);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user