This commit is contained in:
2026-08-15 11:51:15 +08:00
parent 46cb95db15
commit 08187363a1
16 changed files with 203 additions and 39 deletions
@@ -24,6 +24,15 @@ test('所有写入均走订单生命周期 HTTP API 且不清理保留数据', (
assert.doesNotMatch(source, /cleanup|remove|unlink/i)
})
test('状态矩阵复用订单共享的逐仓真实报价选择,不假设首仓或首税制', () => {
assert.match(source, /findPricedOrderRouteAcrossOrigins/)
assert.match(source, /loadChannels: \(receiving\)/)
assert.match(source, /pricing\/estimate/)
assert.doesNotMatch(source, /rows\(.*domestic.*\)\[0\]/)
assert.doesNotMatch(source, /pricingTaxModes\[0\]/)
assert.match(source, /pricingTaxMode: priced\.priced\.pricingTaxMode/)
})
test('入库通过真实订单测量链保留测量态并最终进入 WAIT_SPLIT', () => {
assert.match(source, /result\.inbounds\.WAIT_MEASURE/)
assert.match(source, /processStatus: 'WAIT_MEASURE'/)