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;