diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-09 09:59:43 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-09 09:59:43 -0300 |
commit | d2f8962fd00f2f9137d50e15b139c76db7ed0c7c (patch) | |
tree | b639eeea269af1ce3056d6468eda0f6a10066a3a /packages/merchant-backoffice-ui/src/utils | |
parent | eb3ce7e9abb04d1cd24ae070b04b2c8698dd3594 (diff) | |
download | wallet-core-d2f8962fd00f2f9137d50e15b139c76db7ed0c7c.tar.xz |
update test for longest currency name
Diffstat (limited to 'packages/merchant-backoffice-ui/src/utils')
-rw-r--r-- | packages/merchant-backoffice-ui/src/utils/regex.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/utils/regex.test.ts b/packages/merchant-backoffice-ui/src/utils/regex.test.ts index d473bd08c..984f1a472 100644 --- a/packages/merchant-backoffice-ui/src/utils/regex.test.ts +++ b/packages/merchant-backoffice-ui/src/utils/regex.test.ts @@ -61,9 +61,10 @@ describe("amount format", () => { "ARS:10.123,123", "ARS:1,000,000", "ARSCOL:10", - "THISISTHEMOTHERCOIN:1,000,000.123,123", + "LONGESTCURR:1,000,000.123,123", ]; + it("should be valid", () => { valids.forEach((v) => expect(v).match(AMOUNT_REGEX)); }); |