Skip to content

Commit

Permalink
[test]: add missing UTs
Browse files Browse the repository at this point in the history
  • Loading branch information
RgnDunes committed Jun 7, 2024
1 parent b2b3cec commit 5c41939
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ describe('formatNumber', () => {
['BBD', 'en-BB', 'Bds$123,456.33'],
['BMD', 'en-BM', 'BD$123,456.33'],
['CVE', 'en-CV', `CVE${nbsp}123,456.33`],
['CAD', 'en-CA', 'C$123,456.33'],
['CAD', 'en-CA', 'CA$123,456.33'],
['KYD', 'en-KY', 'CI$123,456.33'],
['CLP', 'en-CL', `CLP${nbsp}123,456`],
['COP', 'en-CO', `COP${nbsp}123,456.33`],
Expand All @@ -194,6 +194,16 @@ describe('formatNumber', () => {
['SBD', 'en-SB', 'SI$123,456.33'],
['SRD', 'en-SR', `SRD${nbsp}123,456.33`],
['ZWL', 'en-ZW', `ZWL${nbsp}123,456.33`],
['LSL', 'en-LS', `LSL${nbsp}123,456.33`],
['AWG', 'en-AW', `AWG${nbsp}123,456.33`],
['BYN', 'en', `BYN${nbsp}123,456.33`],
['XAF', 'en-CM', `FCFA${nbsp}123,456`],
['CNY', 'en-CN', `CN¥123,456.33`],
['EGP', 'en-EG', `EGP${nbsp}123,456.33`],
['FKP', 'en-FK', `FK£123,456.33`],
['LBP', 'en-LB', `LBP${nbsp}123,456`],
['SSP', 'en', `SSP${nbsp}123,456.33`],
['WST', 'en-WS', `WS$123,456.33`],
];

it.each(intlMappedTestCases)(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,16 @@ describe('formatNumberByParts', () => {
['SBD', 'en-SB'],
['SRD', 'en-SR'],
['ZWL', 'en-ZW'],
['LSL', 'en-LS'],
['AWG', 'en-AW'],
['BYN', 'en'],
['XAF', 'en-CM'],
['CNY', 'en-CN'],
['EGP', 'en-EG'],
['FKP', 'en-FK'],
['LBP', 'en-LB'],
['SSP', 'en'],
['WST', 'en-WS'],
];

it.each(intlMappedTestCases)(
Expand Down
Loading

0 comments on commit 5c41939

Please sign in to comment.