From 079e18bd3a2dd0063d711237bb4f73704449551d Mon Sep 17 00:00:00 2001 From: yml2213 Date: Thu, 17 Sep 2026 18:16:29 +0800 Subject: [PATCH] =?UTF-8?q?style(frontend):=20=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=20listingDisplay=20=E5=8D=95=E6=B5=8B=E4=BB=A5=E9=80=9A?= =?UTF-8?q?=E8=BF=87=20pre-push=20Prettier=20=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- frontend/src/shared/utils/__tests__/listingDisplay.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/shared/utils/__tests__/listingDisplay.spec.ts b/frontend/src/shared/utils/__tests__/listingDisplay.spec.ts index 41276dc..88c045a 100644 --- a/frontend/src/shared/utils/__tests__/listingDisplay.spec.ts +++ b/frontend/src/shared/utils/__tests__/listingDisplay.spec.ts @@ -57,8 +57,8 @@ describe('号主纯币价格读取', () => { it('缺少价格快照时返回 0,供调用方展示占位符', () => { expect(getListingSellerCoinPrice(buildListing())).toBe(0) expect(getListingSellerCoinPrice(buildListing({}))).toBe(0) - expect( - getListingSellerCoinPrice(buildListing({ price_breakdown: { seller_ratio: 43 } })) - ).toBe(0) + expect(getListingSellerCoinPrice(buildListing({ price_breakdown: { seller_ratio: 43 } }))).toBe( + 0 + ) }) })