mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 02:08:34 +08:00
Remove some automocks from tests
Summary: They are bad :D And they affect us when trying to migrate to the babel runtime helpers Reviewed By: pvdz Differential Revision: D9829462 fbshipit-source-id: 15240a56e707e13775d57714646e4960cfe202df
This commit is contained in:
committed by
Facebook Github Bot
parent
ade04d0260
commit
c58fb3b73a
@@ -10,7 +10,7 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
jest.enableAutomock().unmock('WebSocket');
|
||||
jest.mock('NativeEventEmitter');
|
||||
jest.setMock('NativeModules', {
|
||||
WebSocketModule: {
|
||||
connect: () => {},
|
||||
|
||||
Reference in New Issue
Block a user