Use public API in tests wherever possible (#9954)

* Use public API in tests wherever possible

* Add missing src/node_modules files
This commit is contained in:
Dan Abramov
2017-06-14 00:58:35 +01:00
committed by GitHub
parent ce6108dac3
commit 4f19558c6b
86 changed files with 159 additions and 81 deletions

9
src/node_modules/react-art/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/**
* Copyright 2016-present Facebook. All Rights Reserved.
*
* @flow
*/
'use strict';
module.exports = require('ReactARTFiber');

9
src/node_modules/react-dom/test-utils.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/**
* Copyright 2016-present Facebook. All Rights Reserved.
*
* @flow
*/
'use strict';
module.exports = require('ReactTestUtils');

9
src/node_modules/react-native/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/**
* Copyright 2016-present Facebook. All Rights Reserved.
*
* @flow
*/
'use strict';
module.exports = require('ReactNative');

9
src/node_modules/react-noop-renderer/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/**
* Copyright 2016-present Facebook. All Rights Reserved.
*
* @flow
*/
'use strict';
module.exports = require('ReactNoop');

9
src/node_modules/react-test-renderer/shallow.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/**
* Copyright 2016-present Facebook. All Rights Reserved.
*
* @flow
*/
'use strict';
module.exports = require('ReactShallowRenderer');