test: integrate reliable event recovery and receiving evidence
This commit is contained in:
@@ -229,6 +229,10 @@ export async function run(context) {
|
||||
packageCount: Number(item?.packageCount), picked: Number(item?.pickedPackageCount) })),
|
||||
})
|
||||
const operationsBeforeSignature = JSON.stringify(operationsBefore || [])
|
||||
if (typeof context.context?.beforeLoadingComplete === 'function') {
|
||||
await context.context.beforeLoadingComplete({ marker: context.marker, customerId: tenantId,
|
||||
loadingPlanId, containerBookingId })
|
||||
}
|
||||
const completeAttempts = [1, 2].map((index) => ({
|
||||
body: {
|
||||
expectedTaskVersion: Number(taskBefore.version),
|
||||
|
||||
Reference in New Issue
Block a user