Skip to content

Commit 56a1194

Browse files
committed
1 parent a24957f commit 56a1194

File tree

5 files changed

+5649
-4661
lines changed

5 files changed

+5649
-4661
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import "react-native-get-random-values";
1+
import "./react-native/polyfills";
22
export { AbsentSyncableStateSingleton } from "./react-native/types/AbsentSyncableStateSingleton";
33
export { Aligned } from "./react-native/components/Aligned";
44
export { AwaitingPullSyncableStateCollectionItem } from "./react-native/types/AwaitingPullSyncableStateCollectionItem";

jest.config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
}
1212
},
1313
"testRegex": "[\\/]unit.jsx?$",
14-
"preset": "react-native",
15-
"transformIgnorePatterns": [
16-
"/node_modules/(?!(@react-native|react-native)/).*/"
17-
],
1814
"setupFilesAfterEnv": [
1915
"./jest.js"
2016
],
21-
"testTimeout": 60000
17+
"testTimeout": 60000,
18+
"preset": "jest-expo",
19+
"transformIgnorePatterns": [
20+
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg)"
21+
]
2222
}

0 commit comments

Comments
 (0)