From 459208b6b5853da2bf0dbb9b68ed8c2fd3fdad6f Mon Sep 17 00:00:00 2001 From: Hendrik Liebau Date: Thu, 25 Jul 2024 17:37:36 +0200 Subject: [PATCH] Fix accidental breakage of `hasIsolatedTests` in #53406 --- run-tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/run-tests.js b/run-tests.js index 8248ec4f640a49..75c3619b1a0779 100644 --- a/run-tests.js +++ b/run-tests.js @@ -400,8 +400,7 @@ ${ENDGROUP}`) const hasIsolatedTests = tests.some((test) => { return configuredTestTypes.some( - (type) => - type !== testFilters.unit && test.file.startsWith(`test/${type}`) + (type) => typeof type === 'string' && test.file.startsWith(type) ) })