test(shipping): 更新订单复核库存与通知流程测试

This commit is contained in:
hugo committed 2026-09-04 20:53:06 +08:00
1 parent 8ec028e6a3
commit 265a6e179a
168 files changed
+9420 -4613

No files matched your search

@@ -108,6 +108,20 @@ describe('normalizeShippingProcessingProjection', () => {
expect(normalized?.stageNodes?.[1]?.absoluteIndex).toBe(2);
});
it('normalizes the EML status-partition file count', () => {
const normalized = normalizeShippingProcessingProjection({
work_item_no: 'INTAKE:SNI-EML',
work_item_type: 'order_task',
aggregate_summary: {
intake_no: 'SNI-EML', total: 3, in_group: 2,
},
});
expect(normalized?.aggregateSummary).toMatchObject({
intakeNo: 'SNI-EML', total: 3, inGroup: 2,
});
});
it('保留后端五阶段生命周期入口,包括 freight_upload', () => {
const normalized = normalizeShippingProcessingProjection({
work_item_no: 'OT-LIFECYCLE-5',