Test #1

Merged
admin merged 1726 commits from test into main 2026-09-17 11:52:45 +08:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 571a5544a3 - Show all commits
@@ -571,7 +571,7 @@ export async function run(context) {
expectedVersion: Number(claimed?.version),
inventorySnapshotToken: inventory.snapshotToken,
items: [{
itemId: id(canonicalItem.id), action: 'PICK', pickedPackageCount: 1,
itemId: id(canonicalItem.id), action: 'PICK', pickedPackageCount: initialAssignmentCount,
releaseMode: 'MANUAL', locationIds: [], version: Number(canonicalItem.version),
}],
}
@@ -88,6 +88,7 @@ test('measurement and loading pass destination identity into the LOADED producer
assert.match(entry, /skuCodes: Array\.isArray\(fixtureOrder\.skuCodes\) \? fixtureOrder\.skuCodes : \[\]/)
assert.match(entry, /skuLines: Array\.isArray\(fixtureOrder\.skuLines\) \? fixtureOrder\.skuLines : \[\]/)
const pda = read('phase4-overseas-pda.mjs')
assert.match(loading, /pickedPackageCount: initialAssignmentCount/)
assert.match(pda, /find\(\(item\) => item\?\.fulfillmentType === 'ONE_CLICK_DROPSHIP'\)/)
assert.match(pda, /resolveCartonFixtures\(context, token, current\.data\.inbounds, producerCartonMarks\)/)
assert.match(pda, /FBA与OVERSEAS箱码resolve均为纯查询且零状态写入/)