feat: expose dropship palletization progress
This commit is contained in:
@@ -4,8 +4,11 @@ import test from 'node:test'
|
||||
|
||||
const source = readFileSync(new URL('./unifiedOrders.ts', import.meta.url), 'utf8')
|
||||
|
||||
test('keeps the merchant unified-order boundary and phase-two WAIT_SPLIT status', () => {
|
||||
test('keeps the merchant unified-order boundary and one-click palletization status', () => {
|
||||
assert.match(source, /const unifiedOrderBaseUrl = '\/merchant\/v1\/orders'/)
|
||||
assert.match(source, /ApiUnifiedOrderMainStatus[\s\S]*?'WAIT_PALLETIZE'/)
|
||||
assert.match(source, /ApiUnifiedOrderMainStatus[\s\S]*?'WAIT_SPLIT'/)
|
||||
assert.match(source, /fulfillmentType\?: 'STANDARD' \| 'ONE_CLICK_DROPSHIP' \| null/)
|
||||
assert.match(source, /lxCode\?: string \| null/)
|
||||
assert.match(source, /mainStatus\?: ApiUnifiedOrderMainStatus/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user