优化
This commit is contained in:
@@ -22,7 +22,9 @@ test('measurement submission confirms weight evidence before submit', () => {
|
||||
})
|
||||
|
||||
test('measurement fixture derives pallet resources from confirmed image count', () => {
|
||||
assert.match(source, /palletCount: WEIGHING_IMAGE_COUNT/)
|
||||
assert.match(source, /waitSplitVariant\?\.palletCount \|\| 1/)
|
||||
assert.match(source, /palletIds: warehouseResourcesReady\.palletIds/)
|
||||
assert.match(source, /confirmedRows\.length === palletIds\.length/)
|
||||
assert.doesNotMatch(source, /Math\.ceil\(Number\(totalVolumeCbm\)/)
|
||||
assert.doesNotMatch(source, /Math\.ceil\(totalVolume \/ DEFAULT_PALLET_CAPACITY_CBM\)/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user