From 8e13e770e39a6fc634a87b5d5144ec1e54000a0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= <sema@fb.com>
Date: Wed, 26 Feb 2020 02:48:34 -0800
Subject: [PATCH] Remove /testing entry point from 'react' package (#18137)

We're not actually building this entry point. I can't think of a reason
we'd need to fork the isomorphic one. We don't really fork it for
anything since it's so generic to work with all renderers.

Since /profiling doesn't have this, it might confuse the story if we made
people alias two things for testing but not profiling.
---
 packages/react/npm/testing.js |  7 -------
 packages/react/testing.js     | 16 ----------------
 2 files changed, 23 deletions(-)
 delete mode 100644 packages/react/npm/testing.js
 delete mode 100644 packages/react/testing.js

diff --git a/packages/react/npm/testing.js b/packages/react/npm/testing.js
deleted file mode 100644
index f20bb1d19db68..0000000000000
--- a/packages/react/npm/testing.js
+++ /dev/null
@@ -1,7 +0,0 @@
-'use strict';
-
-if (process.env.NODE_ENV === 'production') {
-  module.exports = require('./cjs/react-testing.production.min.js');
-} else {
-  module.exports = require('./cjs/react-testing.development.js');
-}
diff --git a/packages/react/testing.js b/packages/react/testing.js
deleted file mode 100644
index 4268898c088b9..0000000000000
--- a/packages/react/testing.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- *
- * @flow
- */
-
-'use strict';
-
-const React = require('./src/React');
-
-// TODO: decide on the top-level export form.
-// This is hacky but makes it work with both Rollup and Jest.
-module.exports = React.default || React;