This commit is contained in:
Yamozha
2021-04-02 02:24:13 +03:00
parent c23950b545
commit 7256d79e2c
31493 changed files with 3036630 additions and 0 deletions

18
node_modules/react-native-web/jest/setup.js generated vendored Normal file
View File

@ -0,0 +1,18 @@
/* eslint-env jasmine, jest */
'use strict';
global.__DEV__ = true;
const mockEmptyObject = {};
// Make sure snapshots contain the original style objects
jest.mock('../dist/cjs/exports/StyleSheet/ReactNativePropRegistry', () => ({
register: id => id,
getByID: () => mockEmptyObject
}));
jest.mock('../dist/exports/StyleSheet/ReactNativePropRegistry', () => ({
register: id => id,
getByID: () => mockEmptyObject
}));