From 264dc60ac60394ed1aa4eb5945d39edf9658b6bc Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Wed, 26 Aug 2026 17:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/project-contract.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/project-contract.test.mjs b/tests/project-contract.test.mjs index 18f0686..5188789 100644 --- a/tests/project-contract.test.mjs +++ b/tests/project-contract.test.mjs @@ -51,6 +51,7 @@ test('login has no committed demo credentials and inbound operation implements t assert.doesNotMatch(operation, /resolveCurrentSku|resolvedSku|skuInput|selectedInboundCode|chooseInbound|class="inbound-tabs"/) assert.doesNotMatch(operation, /InboundList|柜内入仓码/) assert.doesNotMatch(inbound, /skus\/resolve/) + assert.doesNotMatch(operation, /\.split\([^\n]*['"]#['"]/, '前端必须原样提交完整箱码,禁止按 # 猜测入仓码或箱序号') assert.match(operation, /const payload = isFba \? \{ inboundCode: this\.activeInbound\.inboundCode, palletCode: this\.resolvedPallet\.palletCode, packageCount: Number\(this\.packageCount\) \}/) assert.doesNotMatch(operation, /skuCode/) assert.match(operation, /clearReceiptContext\(\)[\s\S]*activeScanTarget = 'carton'/)