mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
0eea9c61ee
Summary: Tests started [failing](https://travis-ci.org/facebook/react-native/jobs/163517412) with release of new babel that uses chalk.white.bgRed in code. Jest does not like chalk and needs it mocked. Removed code duplication and patched the mock. Closes https://github.com/facebook/react-native/pull/10169 Differential Revision: D3943493 Pulled By: davidaurelio fbshipit-source-id: 11f57f60ed909a394f15de7b9cc511400aeff510
13 lines
417 B
JavaScript
13 lines
417 B
JavaScript
/**
|
|
* 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.
|
|
*/
|
|
'use strict';
|
|
|
|
module.exports =
|
|
require('../../packager/react-packager/src/Activity/__mocks__/chalk.js');
|