diff options
Diffstat (limited to 'jest')
-rw-r--r-- | jest/jestSetup.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jest/jestSetup.js b/jest/jestSetup.js index 5d6bd4f1f..d8cee9bfd 100644 --- a/jest/jestSetup.js +++ b/jest/jestSetup.js @@ -2,6 +2,9 @@ import {configure} from '@testing-library/react-native' import 'react-native-gesture-handler/jestSetup' +// IMPORTANT: this is what's used in the native runtime +import 'react-native-url-polyfill/auto' + configure({asyncUtilTimeout: 20000}) jest.mock('@react-native-async-storage/async-storage', () => |