From 66dca25c9c24c6a4aad576ec8f43f6e0b9183179 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 28 Jan 2026 06:26:57 -0800 Subject: [PATCH] Remove references to integration/runner Summary: This was the old fantom location and no longer used. Differential Revision: D91680127 --- 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 af8dae743022a6..4486f8417b50b9 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 09801410ef52fe..332fd0e5c97e17 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, };