test(firstleg): align full acceptance contracts
This commit is contained in:
@@ -546,7 +546,12 @@ export async function run(context) {
|
||||
candidateElapsedMs < 5000 && Number(candidatePage?.page) === 1 && Number(candidatePage?.size) === 200,
|
||||
`elapsedMs=${candidateElapsedMs}, total=${candidatePage?.total ?? 'missing'}`, OPTIONS)
|
||||
|
||||
const today = new Date().toISOString().slice(0, 10)
|
||||
const today = new Intl.DateTimeFormat('en-CA', {
|
||||
timeZone: 'Asia/Shanghai',
|
||||
year: 'numeric',
|
||||
month: '2-digit',
|
||||
day: '2-digit'
|
||||
}).format(new Date())
|
||||
const filteredResponse = await context.request('GET',
|
||||
`${SMART}/inbound-candidates?channelGroupCodes=${encodeURIComponent(channelGroup(first.channelCode))}`
|
||||
+ `&warehouseId=${encodeURIComponent(first.warehouseId)}&inboundCode=${encodeURIComponent(first.inboundCode)}`
|
||||
|
||||
Reference in New Issue
Block a user