优化
This commit is contained in:
@@ -34,6 +34,12 @@ test('sends backend-required channel, customs, destination and cargo fields', ()
|
||||
}
|
||||
assert.match(storeSource, /containerMode: draft\.transportMode === 'FCL' \? 'FULL_CONTAINER'/)
|
||||
assert.match(storeSource, /customerId: draft\.shipperPartyId/)
|
||||
assert.match(storeSource, /customerName: customerName\.trim\(\) \|\| draft\.shipperPartySnapshot\.name/)
|
||||
})
|
||||
|
||||
test('only blocks submission when a known company audit status is not active', () => {
|
||||
assert.match(storeSource, /companyAuditStatus\?: MerchantTenantStatus/)
|
||||
assert.match(storeSource, /if \(companyAuditStatus && companyAuditStatus !== 'ACTIVE'\)/)
|
||||
})
|
||||
|
||||
test('does not expose the out-of-scope cancellation write', () => {
|
||||
|
||||
Reference in New Issue
Block a user