From 6f1c4ec9a9b5b7d0b4b67f3bc7c3af6810da5001 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 2 May 2023 23:06:55 -0500 Subject: [APP-549] Language controls for Whats Hot (#563) * Add a content-language preference control * Update whats hot to only show the selected languages and to refresh on lang pref changes * Fix lint * Fix tests * Add missing accessibility role --- __mocks__/expo-localization.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 __mocks__/expo-localization.js (limited to '__mocks__') diff --git a/__mocks__/expo-localization.js b/__mocks__/expo-localization.js new file mode 100644 index 000000000..8bd537cf6 --- /dev/null +++ b/__mocks__/expo-localization.js @@ -0,0 +1 @@ +export const getLocales = jest.fn().mockResolvedValue([]) -- cgit 1.4.1