style: 修复 pre-push Prettier 格式检查失败

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-09-15 10:47:38 +08:00
co-authored by Cursor
parent 5cbb977b96
commit e20505bc8e
8 changed files with 28 additions and 43 deletions
@@ -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({}),
})