优化
This commit is contained in:
@@ -22,6 +22,9 @@ test('retains all clickable container, loading-list and PDA workflow states thro
|
||||
const transportIndex = source.indexOf('`${CONTAINERS}/${containerId}/transport`')
|
||||
assert.ok(transportIndex >= 0 && pushIndex > transportIndex)
|
||||
assert.match(source, /transported\?\.cabinetNo !== container\?\.cabinetNo/)
|
||||
assert.match(source, /shippingCompanyId: null, shippingCompanyName: null/)
|
||||
assert.match(source, /bookingAgentId: null, bookingAgentName: null/)
|
||||
assert.match(source, /billOfLadingNo: confirmed\?\.oceanBooking\?\.billOfLadingNo/)
|
||||
const batch = source.slice(source.indexOf('async function pickAll'), source.indexOf('async function complete'))
|
||||
assert.doesNotMatch(batch, /containerNo:/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user