test: retain a second FBA fixture for delivery split

This commit is contained in:
2026-09-15 13:01:44 +08:00
parent 9914d40593
commit 960b5d6b0a
2 changed files with 9 additions and 5 deletions
@@ -137,9 +137,10 @@ test('PDA module covers the container-number receiving contract and excludes out
assert.match(source, /rememberGeneratedPlans\(context, plans\)/)
assert.match(source, /resolveGeneratedPallet\(context, inbound\)/)
assert.match(source, /generatedPalletsByInbound/)
assert.match(source, /standardFba = matrix\?\.byDestinationType\?\.FBA\?\.find/)
assert.match(source, /standardFbaProducers = \(matrix\?\.byDestinationType\?\.FBA \|\| \[\]\)/)
assert.match(source, /item\?\.fulfillmentType !== 'ONE_CLICK_DROPSHIP'/)
assert.match(source, /const producers = \[dropship[\s\S]*?standardFba,/)
assert.match(source, /\.slice\(0, 2\)/)
assert.match(source, /const producers = \[dropship, \.\.\.standardFbaProducers,/)
assert.doesNotMatch(source, /创建当前柜实收托盘|创建当前柜实收库位|async function createPallet/)
assert.match(source, /retained as acceptance evidence/)
assert.match(source, /preferredProducer\?\.cartonMarks\?\.length/)