diff --git a/tests/wiring.test.mjs b/tests/wiring.test.mjs index bff2e1c..00389e6 100644 --- a/tests/wiring.test.mjs +++ b/tests/wiring.test.mjs @@ -338,7 +338,7 @@ test('dock trade and missions are driven by generated port economy state', async ]); assert.match(game, /marketAtPort\(this\.world, port, this\.progression\.economy\)/); - assert.match(game, /missionOffersAtPort\(this\.world, port, this\.defeated\)/); + assert.match(game, /missionOffersAtPort\([\s\S]*?this\.world,[\s\S]*?port,[\s\S]*?this\.defeated,[\s\S]*?this\.progression\.completedMissions/); assert.match(game, /buyTradeGood\(/); assert.match(game, /sellTradeGood\(/); assert.match(game, /acceptMission\(/);