Update Jest APIs on fbsource

Reviewed By: javache

Differential Revision: D3229435

fb-gh-sync-id: b0e252d69e1f399a946fca6e98ef62ff44c2ef9c
fbshipit-source-id: b0e252d69e1f399a946fca6e98ef62ff44c2ef9c
This commit is contained in:
Christoph Pojer
2016-04-27 19:15:28 -07:00
committed by Facebook Github Bot 8
parent 192ab663b7
commit d363b1f2e2
51 changed files with 208 additions and 217 deletions

View File

@@ -3,7 +3,7 @@
*/
'use strict';
jest.dontMock('WebSocket');
jest.unmock('WebSocket');
jest.setMock('NativeModules', {
WebSocketModule: {
connect: () => {}