mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-03 20:07:11 +01:00
ADD: Mock for RNLocalize
This commit is contained in:
parent
b857eb9fa3
commit
1a3450c352
1 changed files with 8 additions and 0 deletions
8
__mocks__/react-native-localize.js
vendored
Normal file
8
__mocks__/react-native-localize.js
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
const getLocales = () => [
|
||||
// you can choose / add the locales you want
|
||||
{ countryCode: 'US', languageTag: 'en-US', languageCode: 'en', isRTL: false },
|
||||
{ countryCode: 'FR', languageTag: 'fr-FR', languageCode: 'fr', isRTL: false },
|
||||
];
|
||||
const getCurrencies = () => ['USD', 'EUR']; // can be empty array
|
||||
|
||||
export { getLocales, getCurrencies };
|
Loading…
Add table
Reference in a new issue