From 7ff4c218cfb3638e490e37cc89de1ad7e9884904 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Mon, 2 Feb 2026 15:48:22 -0800 Subject: [PATCH] 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 --- scripts/shared/babelRegister.js | 14 ++------------ scripts/shared/consts.js | 11 ----------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/scripts/shared/babelRegister.js b/scripts/shared/babelRegister.js index af8dae74302..4486f8417b5 100644 --- a/scripts/shared/babelRegister.js +++ b/scripts/shared/babelRegister.js @@ -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; diff --git a/scripts/shared/consts.js b/scripts/shared/consts.js index 09801410ef5..332fd0e5c97 100644 --- a/scripts/shared/consts.js +++ b/scripts/shared/consts.js @@ -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, };