Skip to content

Commit

Permalink
fix: unit test #184, #152
Browse files Browse the repository at this point in the history
  • Loading branch information
cwtuan committed Apr 23, 2022
1 parent 3100901 commit 84ad893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-intl-universal/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand All @@ -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", () => {
Expand Down

0 comments on commit 84ad893

Please sign in to comment.