From 84ad89335acd9dd7cbd6e6b6a8ccb1382ba3d3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=85=E5=AD=A6?= Date: Sat, 23 Apr 2022 11:25:32 +0800 Subject: [PATCH] fix: unit test #184, #152 --- packages/react-intl-universal/test/index.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-intl-universal/test/index.test.js b/packages/react-intl-universal/test/index.test.js index d6209c1..ab5204c 100644 --- a/packages/react-intl-universal/test/index.test.js +++ b/packages/react-intl-universal/test/index.test.js @@ -161,7 +161,7 @@ test("Message with Time", () => { intl.get("COUPON", { expires: expires }) - ).toBe("优惠卷将在17:08:33过期"); + ).toBe("优惠卷将在下午5:08:33过期"); }); test("Message with Currency", () => { @@ -177,7 +177,7 @@ test("Message with Currency", () => { intl.get("SALE_PRICE", { price: price }) - ).toBe("售价CN¥ 123,456.78"); + ).toBe("售价¥123,456.78"); }); test("Message with plural", () => {