style: 修复 pre-push Prettier 格式检查失败
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { getFulfillmentProfileByKey } from '../../repositories/fulfillment-profile-repo.js'
|
||||
import type { JsonObject } from '../../types/json.js'
|
||||
import type { OrderItemRow, OrderRow } from '../../types/repository/rows.js'
|
||||
import {
|
||||
FULFILLMENT_EXECUTOR_KEYS,
|
||||
isAffiliateDashExecutor,
|
||||
} from './executors/types.js'
|
||||
import { FULFILLMENT_EXECUTOR_KEYS, isAffiliateDashExecutor } from './executors/types.js'
|
||||
|
||||
export type FulfillmentBindingLike = {
|
||||
id: number
|
||||
|
||||
@@ -157,9 +157,7 @@ test('resolveFulfillmentRoute 指定匹配命中但商品不可用时回退人
|
||||
const result = resolveFulfillmentRoute({
|
||||
productName: '幸运币90个',
|
||||
preferredExecutorKey: 'affiliate_dash',
|
||||
candidates: [
|
||||
{ executorKey: 'affiliate_dash', available: false, reason: '未命中 sku 映射' },
|
||||
],
|
||||
candidates: [{ executorKey: 'affiliate_dash', available: false, reason: '未命中 sku 映射' }],
|
||||
config: normalizeFulfillmentRoutingConfig({}),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user