2015-03-23 22:07:33 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*/
|
2015-03-02 18:42:31 +00:00
|
|
|
'use strict';
|
|
|
|
|
2015-11-14 11:23:46 +00:00
|
|
|
require('../packager/react-packager/src/Resolver/polyfills/babelHelpers.js');
|
2015-09-16 17:30:53 +00:00
|
|
|
global.__DEV__ = true;
|
2015-12-22 01:52:20 +00:00
|
|
|
global.__fbBatchedBridgeConfig = {
|
|
|
|
remoteModuleConfig: [],
|
|
|
|
localModulesConfig: [],
|
|
|
|
};
|
|
|
|
|
|
|
|
global.Promise = require('promise');
|
2016-01-21 19:18:18 +00:00
|
|
|
global.regeneratorRuntime = require.requireActual('regenerator/runtime');
|
2016-01-08 14:51:45 +00:00
|
|
|
|
|
|
|
jest.setMock('ErrorUtils', require('ErrorUtils'));
|