mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
Remove references to integration/runner (#55342)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55342 This was the old fantom location and no longer used. Changelog: [Internal] Reviewed By: zeyap Differential Revision: D91680127 fbshipit-source-id: d0015ed1668065487c156eabe535e35e75c52d3f
This commit is contained in:
committed by
meta-codesync[bot]
parent
0bb319023e
commit
7ff4c218cf
@@ -8,12 +8,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
const {
|
||||
PACKAGES_DIR,
|
||||
PRIVATE_DIR,
|
||||
RN_INTEGRATION_TESTS_RUNNER_DIR,
|
||||
SCRIPTS_DIR,
|
||||
} = require('./consts');
|
||||
const {PACKAGES_DIR, PRIVATE_DIR, SCRIPTS_DIR} = require('./consts');
|
||||
|
||||
let isRegisteredForMonorepo = false;
|
||||
|
||||
@@ -42,12 +37,7 @@ function registerForMonorepo() {
|
||||
require('@fb-tools/babel-register');
|
||||
} else {
|
||||
const {register} = require('metro-babel-register');
|
||||
register([
|
||||
PACKAGES_DIR,
|
||||
PRIVATE_DIR,
|
||||
SCRIPTS_DIR,
|
||||
RN_INTEGRATION_TESTS_RUNNER_DIR,
|
||||
]);
|
||||
register([PACKAGES_DIR, PRIVATE_DIR, SCRIPTS_DIR]);
|
||||
}
|
||||
|
||||
isRegisteredForMonorepo = true;
|
||||
|
||||
@@ -49,16 +49,6 @@ const RN_TESTER_DIR /*: string */ = path.join(
|
||||
'rn-tester',
|
||||
);
|
||||
|
||||
/**
|
||||
* The absolute path to the RN integration tests runner directory.
|
||||
*/
|
||||
const RN_INTEGRATION_TESTS_RUNNER_DIR /*: string */ = path.join(
|
||||
REPO_ROOT,
|
||||
'jest',
|
||||
'integration',
|
||||
'runner',
|
||||
);
|
||||
|
||||
module.exports = {
|
||||
PACKAGES_DIR,
|
||||
PRIVATE_DIR,
|
||||
@@ -66,5 +56,4 @@ module.exports = {
|
||||
REPO_ROOT,
|
||||
RN_TESTER_DIR,
|
||||
SCRIPTS_DIR,
|
||||
RN_INTEGRATION_TESTS_RUNNER_DIR,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user