yeet
This commit is contained in:
18
node_modules/react-native-web/jest/setup.js
generated
vendored
Normal file
18
node_modules/react-native-web/jest/setup.js
generated
vendored
Normal 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
|
||||
}));
|
Reference in New Issue
Block a user