mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-21 13:58:41 +00:00
+2
-2
@@ -7,12 +7,12 @@ global.__DEV__ = true;
|
||||
const mockEmptyObject = {};
|
||||
|
||||
// Make sure snapshots contain the original style objects
|
||||
jest.mock('../dist/cjs/modules/StyleSheet/ReactNativePropRegistry', () => ({
|
||||
jest.mock('../dist/cjs/exports/StyleSheet/ReactNativePropRegistry', () => ({
|
||||
register: id => id,
|
||||
getByID: () => mockEmptyObject
|
||||
}));
|
||||
|
||||
jest.mock('../dist/modules/StyleSheet/ReactNativePropRegistry', () => ({
|
||||
jest.mock('../dist/exports/StyleSheet/ReactNativePropRegistry', () => ({
|
||||
register: id => id,
|
||||
getByID: () => mockEmptyObject
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user