We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824cca1 commit 728e20fCopy full SHA for 728e20f
1 file changed
packages/react-native-web/jest/setup.js
@@ -7,12 +7,12 @@ global.__DEV__ = true;
7
const mockEmptyObject = {};
8
9
// Make sure snapshots contain the original style objects
10
-jest.mock('../dist/cjs/modules/StyleSheet/ReactNativePropRegistry', () => ({
+jest.mock('../dist/cjs/exports/StyleSheet/ReactNativePropRegistry', () => ({
11
register: id => id,
12
getByID: () => mockEmptyObject
13
}));
14
15
-jest.mock('../dist/modules/StyleSheet/ReactNativePropRegistry', () => ({
+jest.mock('../dist/exports/StyleSheet/ReactNativePropRegistry', () => ({
16
17
18
0 commit comments