diff options
author | Eric Bailey <git@esb.lol> | 2023-11-22 17:20:35 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 17:20:35 -0600 |
commit | edf3114e476aef5da67ca76b4636ac3cfbcb26d8 (patch) | |
tree | 2cdd41ad5a11aae5cf2c49bddac58c1aaae9a5af /jest | |
parent | ec819f06cecca6a20b4c8c9cac3f4727d4464a04 (diff) | |
download | voidsky-edf3114e476aef5da67ca76b4636ac3cfbcb26d8.tar.zst |
Fixes 1731, compare URLs case-insensitive (#1980)
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', () => |