|
|
@@ -26,10 +26,6 @@ describe('getCurrencySymbol', () => {
|
|
|
expect(getCurrencySymbol('MYR')).toBe('RM');
|
|
|
});
|
|
|
|
|
|
- it('returns ₴ for UAH', () => {
|
|
|
- expect(getCurrencySymbol('UAH')).toBe('₴');
|
|
|
- });
|
|
|
-
|
|
|
it('returns the code itself for unknown currencies', () => {
|
|
|
expect(getCurrencySymbol('XYZ')).toBe('XYZ');
|
|
|
});
|
|
|
@@ -49,7 +45,7 @@ describe('SUPPORTED_CURRENCIES', () => {
|
|
|
expect(SUPPORTED_CURRENCIES.find((c) => c.code === 'MYR')).toBeDefined();
|
|
|
});
|
|
|
|
|
|
- it('has 29 entries', () => {
|
|
|
- expect(SUPPORTED_CURRENCIES).toHaveLength(29);
|
|
|
+ it('has 28 entries', () => {
|
|
|
+ expect(SUPPORTED_CURRENCIES).toHaveLength(28);
|
|
|
});
|
|
|
});
|