From e2f0ca10b8b300145c546d6b92e313df7dd809dd Mon Sep 17 00:00:00 2001 From: Vitali Zaidman Date: Mon, 9 Feb 2026 09:05:32 -0800 Subject: [PATCH] fix failing on latest babel types unsupported Summary: A typo in the skip script was causing babel validations to not be skipped when running with latest babel versions. Also, improved the comment above it. Differential Revision: D92703751 --- scripts/jestFilter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/jestFilter.js b/scripts/jestFilter.js index 4814301dda..39df016464 100644 --- a/scripts/jestFilter.js +++ b/scripts/jestFilter.js @@ -50,8 +50,8 @@ const BROKEN_ON_WINDOWS = [ const SKIPPED_PATHS = process.platform === 'win32' ? BROKEN_ON_WINDOWS : []; if (process.env.NIGHTLY_TESTS_NO_LOCKFILE != null) { - // flaky babel types test - this should be removed once babel is updated - SKIPPED_PATHS.push('__tests__/babel-lib-defs-test.js'); + // Skip: only support babel types common to all supported babel versions + SKIPPED_PATHS.push('scripts/__tests__/babel-lib-defs-test.js'); } module.exports = (