mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2016-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('ReactARTFiber');
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2016-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('ReactTestUtils');
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2016-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('ReactNative');
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2016-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('ReactNoop');
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright 2016-present Facebook. All Rights Reserved.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = require('ReactShallowRenderer');
|
||||
Reference in New Issue
Block a user