优化
This commit is contained in:
@@ -373,7 +373,7 @@ test('container loading enforces channel isolation and stable PDA identity acros
|
||||
assert.match(value, /afterReplacementSnapshot\?\.snapshotToken === beforeReplacementSnapshot\?\.snapshotToken/)
|
||||
assert.match(value, /pdaIdentityStable: true/)
|
||||
assert.match(value, /category=BOOKING&status=ACTIVE/)
|
||||
assert.match(value, /shippingCompanyId: id\(bookingAgent\.id\), shippingCompanyName: bookingAgent\.name/)
|
||||
assert.match(value, /shippingCompanyId: id\(shippingCarrier\.id\), shippingCompanyName: shippingCarrier\.name, carrierCode: 'MATSON'/)
|
||||
assert.match(value, /bookingAgentId: id\(bookingAgent\.id\), bookingAgentName: bookingAgent\.name/)
|
||||
assert.match(value, /const frozenTransport = Object\.fromEntries\(transportFields\.map/)
|
||||
assert.match(value, /if \(!frozenTransportMatches\) return/)
|
||||
@@ -401,7 +401,8 @@ test('preload and loading versions use immediate operation baselines and exact p
|
||||
assert.match(loading, /shippingCompanyId: id\(shippingCarrier\.id\), shippingCompanyName: shippingCarrier\.name/)
|
||||
assert.match(loading, /bookingAgentId: id\(supplier\.id\), bookingAgentName: supplier\.name/)
|
||||
assert.doesNotMatch(loading, /shippingCompanyId: id\(supplier\.id\), shippingCompanyName: supplier\.name/)
|
||||
assert.match(loading, /cartonMarks: \[\.\.\.new Set\(\(stagedTask\?\.items \|\| \[\]\)\.flatMap/)
|
||||
assert.match(loading, /cartonMarks: stableLoadedCartonMarks\(stagedTask\?\.items, loadingPlanId\)/)
|
||||
assert.match(loading, /createHash\('sha256'\)\.update\(`\$\{seed\}:\$\{left\}`\)/)
|
||||
assert.match(source('./phase3-loading-finalize.mjs'), /cartonMarks: Array\.isArray\(fixture\.cartonMarks\)/)
|
||||
})
|
||||
|
||||
@@ -665,7 +666,7 @@ test('loading evidence acceptance covers idempotency, reversible missing-type ga
|
||||
'证据作废同键同参重放保持同一 VOID 结果',
|
||||
'证据作废同键异参返回冲突',
|
||||
'已作废证据使用新请求重复作废返回冲突',
|
||||
'作废唯一证据类型后 LOADED 门禁拒绝',
|
||||
'作废唯一证据类型后不提前占用异步完成命令',
|
||||
'补传恢复 PHOTO_STEP_4 有效证据',
|
||||
'客户身份无权访问平台装柜证据',
|
||||
'错误客户作用域不可读取本轮装柜证据',
|
||||
@@ -673,6 +674,7 @@ test('loading evidence acceptance covers idempotency, reversible missing-type ga
|
||||
])
|
||||
assert.match(loading, /missingTypeVoidedEvidenceId/)
|
||||
assert.match(loading, /replacementEvidenceFileId/)
|
||||
assert.match(source('./phase3-loading-finalize.mjs'), /waitForCompletion\(context, taskDetailPath/)
|
||||
})
|
||||
|
||||
test('loaded boundary acceptance proves evidence and transport immutability with zero drift', () => {
|
||||
|
||||
Reference in New Issue
Block a user