about summary refs log tree commit diff
path: root/jest
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-22 17:20:35 -0600
committerGitHub <noreply@github.com>2023-11-22 17:20:35 -0600
commitedf3114e476aef5da67ca76b4636ac3cfbcb26d8 (patch)
tree2cdd41ad5a11aae5cf2c49bddac58c1aaae9a5af /jest
parentec819f06cecca6a20b4c8c9cac3f4727d4464a04 (diff)
downloadvoidsky-edf3114e476aef5da67ca76b4636ac3cfbcb26d8.tar.zst
Fixes 1731, compare URLs case-insensitive (#1980)
Diffstat (limited to 'jest')
-rw-r--r--jest/jestSetup.js3
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', () =>